I have a damage detection system
, and how do I trigger "mana shield deactivated" or what have you?
Also, it seems that mana shield is bugged, I have mana shield set to .02 mana per hit point, and I tested it with a guy who hits for 1 damage and it was taking 50+ mana from my unit per swing, what the heck? I figured out the mana shield thing now, this is a edit post lol, anyway the "Data - mana per hit point" thing is confusing, by setting it to 50 it now will absorb 50 damage before it takes mana, mind:blown
Figured it out
: trigger 1
Death Shield p2
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Death Shield (N - Mana Shield 3.1)
Actions
Unit - Set life of (Triggering unit) to ((Percentage life of (Triggering unit)) + 35.00)%
Unit - Set mana of (Triggering unit) to ((Percentage mana of (Triggering unit)) + 50.00)%
Countdown Timer - Start DeathShield as a Repeating timer that will expire in 5.00 seconds
and trigger 2:
Death Shield
Events
Time - DeathShield expires
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Nosticus 0184 <gen> has buff Death Shield ) Equal to True
Then - Actions
Unit - Set life of Nosticus 0184 <gen> to ((Percentage life of Nosticus 0184 <gen>) + 5.00)%
Unit - Set mana of Nosticus 0184 <gen> to ((Percentage mana of Nosticus 0184 <gen>) + 12.00)%
Game - Display to (All players) the text: Death Shield Restor...
Else - Actions
Countdown Timer - Pause DeathShield