vJass / grimoire stuff

Grundy

Ultra Cool Member
Reaction score
35
Is there any kind of function, macro, or utility that lets you specify constants from units, items, doodads, abilities, buffs, or upgrades in triggers the same way you can use that stuff in tooltips?

It seems like it could be a kind of easy thing to do as a preprocessor thing.... like GetAbilityData('A000', "DataA1") and the preprocessor could just find all those function calls, and look up the values in the abilities and then replace that function call with a constant that can be used in your jass code.

Does anything like this exist?
 

Grundy

Ultra Cool Member
Reaction score
35
so it has something to create a new ability and set the values but it doesn't have anyway to get values
 

T.s.e

Wish I was old and a little sentimental
Reaction score
133
I don't really know what you mean, but I think that you're looking for a way to calculate the increment for a value which increases with levels?
Code:
Level 1 - 20 damage
Level 2 - xx damage
Level 3 - xxx damage

Then use this fancy little feature:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top