I_RULE_YOU
New Member
- Reaction score
- 34
I'm trying to make a spell called Rage of Darkness. When activated, it gives the hero the ability to cast a Frost Nova thingy with its attacks, and increases attack speed. The spell lasts 10 seconds. Heres what the trigger looks like:
When I use this, the frost nova thingy (Dark Nova) works fine, but the speed thing (Rage Speed) doesn't work at all. Both these abilities are unit abilities. The speed if based off Item Attack Speed Increase or whatever its called. I don't know why its not working. Any ideas?
Code:
Rage of Darkness
Events
Unit - A unit Starts the effect of an ability
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Rage of Darkness
Then - Actions
Unit - Add Dark Nova (Trigger) to (Triggering unit)
Unit - Set level of Dark Nova (Trigger) for (Casting unit) to (Level of Rage of Darkness for (Casting unit))
Unit - Add Rage Speed (Trigger) to (Triggering unit)
Unit - Set level of Rage Speed (Trigger) for (Casting unit) to (Level of Rage of Darkness for (Casting unit))
Wait 10.00 game-time seconds
Unit - Remove Dark Nova (Trigger) from (Triggering unit)
Unit - Remove Rage Speed (Trigger) from (Triggering unit)
Else - Actions
When I use this, the frost nova thingy (Dark Nova) works fine, but the speed thing (Rage Speed) doesn't work at all. Both these abilities are unit abilities. The speed if based off Item Attack Speed Increase or whatever its called. I don't know why its not working. Any ideas?