- Joined
- Mar 27, 2008
- Messages
- 8,035
You notice the 10 - 25 in-game ?
That's the damage, I want to detect.
However, in my game, it uses a damage of 1 - 1 or 30 - 30 so it'll be easier I think
Ok here's the problem:
My unit has a spell, the name is Strike.
When I cast Strike on a targeted enemy unit, the damage dealt would be 100 + <CurrentUnitBaseDamage>
That bold letter is my problem (the damage is based from Caster, not the Target)
As you can see, what I'm trying to do now is to detect unit's current damage when he cast that spell, any scripts can do that ?
Be it JASS (that can be pasted in Trigger Editor) or GUI, all is welcome
That's the damage, I want to detect.
However, in my game, it uses a damage of 1 - 1 or 30 - 30 so it'll be easier I think
Ok here's the problem:
My unit has a spell, the name is Strike.
When I cast Strike on a targeted enemy unit, the damage dealt would be 100 + <CurrentUnitBaseDamage>
That bold letter is my problem (the damage is based from Caster, not the Target)
As you can see, what I'm trying to do now is to detect unit's current damage when he cast that spell, any scripts can do that ?
Be it JASS (that can be pasted in Trigger Editor) or GUI, all is welcome