- Joined
- Feb 13, 2019
- Messages
- 128
Hellllo, I'm just trying to set up a trigger with Bribe's Damage Engine that will act a lot like hardened skin:
I just want the dmg to be reduced by 1, for each point of armor.
This is what I have so far:
But I'm not quite sure how to obtain a units armor and make a variable out of it for the trigger to process?
I'm very new and am probably doing this all wrong so forgive me xd
I just want the dmg to be reduced by 1, for each point of armor.
This is what I have so far:
-
Events
- Game - DamageEvent becomes Equal to 1.00
-
Conditions
- IsDamageSpell Equal to False
-
Actions
- Set AttackingUnit = DamageEventSource
- Set AttackedUnit = DamageEventTarget
- Set AttackedUnitArmor[1] =
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
-
Then - Actions
- Set DamageEventAmount = (DamageEventAmount - AttackedUnitArmor[1])
- Else - Actions
But I'm not quite sure how to obtain a units armor and make a variable out of it for the trigger to process?
I'm very new and am probably doing this all wrong so forgive me xd