djb4cc1o94
TH.net Regular
- Reaction score
- 5
Hello i created an ability based of channel and i want it to swap my hero's percentage life to the targeted hero's one, problem is that the percentage life of the opponent hero doesnt switch, i just get his percentage but he doesnt get my old one... i show u my trigger, pls help me thx in advice
Code:
Swap Percentage
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Swap Percentage
Actions
Unit - Set life of (Triggering unit) to (Percentage life of (Target unit of ability being cast))%
Unit - Set life of (Target unit of ability being cast) to (Percentage life of (Triggering unit))%