Ability: Dancing Sword
Type: Passive
Desc: Gives a 33% chance to perform a swipe, striking all enemies around. Every time it procs, it adds +1 to "rotation counters" (var_rCon).
Ability:RotationCounter
Type:dummy
Desc: simply displays the rotation counters number in its description.
Player needs to know how much rotation counters he has stored. In order to do so, I've created a dummy ability (rotationcounter), which has 25 levels (max. value for var-rCon), and the following set of triggers:
Add the dummy:
Works fine, except that the level of the dummy changes not directly on proc, but when the unit is given a different order.
Example:
Hero attacks a target. He has Dancing Sword lvl5 and RotationCounter, which displays "1" as a description.
Dancing Sword procs 4 times. Hero keeps attacking. It procs 3 more times. Level of RotationCounter, however, has not increased, and it displays "1" as before.
Then, hero is given a move order. Upon executing that order, level of RotationCounter immideately jumps to 7. Now its desc. displays "7".
How to fix the dummy ability to refresh on time? is there another way to display such information (variable) without the use of multiboards/text-messages? Thankyou!
P.S: Nevermind the endurance aura. that is a spell the dummy is based upon. If you're wondering what are the rotation counters for, they are used for the last ability and serve as damage modifiers.
Type: Passive
Desc: Gives a 33% chance to perform a swipe, striking all enemies around. Every time it procs, it adds +1 to "rotation counters" (var_rCon).
Ability:RotationCounter
Type:dummy
Desc: simply displays the rotation counters number in its description.
Player needs to know how much rotation counters he has stored. In order to do so, I've created a dummy ability (rotationcounter), which has 25 levels (max. value for var-rCon), and the following set of triggers:
Add the dummy:
- Events: A unit learns an ablity
- Conditions: Learned ability is Dancing Sword
- Actions: Unit - add RotationCounter to learning hero
- Events: a unit is attacked
- Conditions: Attacking unit has ability Dancing Sword
- Actions:
-
If all conditions are true then multiple actions:
- Condition: <Passive proc's>
- Actions:
- <damage, animation, etc.>
- Set Variable var_rCon to var_rCon+1
- Unit - set level of RotationCounter to var_rCon
Works fine, except that the level of the dummy changes not directly on proc, but when the unit is given a different order.
Example:
Hero attacks a target. He has Dancing Sword lvl5 and RotationCounter, which displays "1" as a description.
Dancing Sword procs 4 times. Hero keeps attacking. It procs 3 more times. Level of RotationCounter, however, has not increased, and it displays "1" as before.
Then, hero is given a move order. Upon executing that order, level of RotationCounter immideately jumps to 7. Now its desc. displays "7".
How to fix the dummy ability to refresh on time? is there another way to display such information (variable) without the use of multiboards/text-messages? Thankyou!
P.S: Nevermind the endurance aura. that is a spell the dummy is based upon. If you're wondering what are the rotation counters for, they are used for the last ability and serve as damage modifiers.