WolfieeifloW
WEHZ Helper
- Reaction score
- 372
Basically it's like this;
Instead of a constant damage/damage per level, ex:
You put it in a function so that people can make their own formulae to calculate the damage they want, ex:
So, if you input level 2, it'd be ((2 * 50) + 20) which is 120.
If level 3, ((3 * 50) + 20) which is 170.
To call it simply do:
Instead of a constant damage/damage per level, ex:
JASS:
private constant real DAMAGE = 200.
You put it in a function so that people can make their own formulae to calculate the damage they want, ex:
So, if you input level 2, it'd be ((2 * 50) + 20) which is 120.
If level 3, ((3 * 50) + 20) which is 170.
To call it simply do:
JASS:
DAMAGE(GetUnitAbilityLevel(unit whichUnit, integer abilcode))