Malice-
Endlessly Known
- Reaction score
- 34
Me again...
This time the problem is a Healing Salve. This healing salve is supposed to healing 1000 damage over 15 seconds, which it does, but it is also supposed to reduce the users agility and intelligence to 0 during the duration of the healing, as a penalty. It isnt doing that. Here is what I have:
Any ideas?
This time the problem is a Healing Salve. This healing salve is supposed to healing 1000 damage over 15 seconds, which it does, but it is also supposed to reduce the users agility and intelligence to 0 during the duration of the healing, as a penalty. It isnt doing that. Here is what I have:
Code:
Healing Salve DEBUFF
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Healing Salve
Actions
Set Hero_Agil[(Player number of (Owner of (Hero manipulating item)))] = (Agility of (Hero manipulating item) (Exclude bonuses))
Set Hero_Intel[(Player number of (Owner of (Hero manipulating item)))] = (Intelligence of (Hero manipulating item) (Exclude bonuses))
Hero - Modify Agility of (Hero manipulating item): Set to 0
Hero - Modify Intelligence of (Hero manipulating item): Set to 0
Wait 15.00 seconds
Hero - Modify Agility of (Hero manipulating item): Set to Hero_Agil[(Player number of (Owner of (Hero manipulating item)))]
Hero - Modify Intelligence of (Hero manipulating item): Set to Hero_Intel[(Player number of (Owner of (Hero manipulating item)))]
Any ideas?