My Trigger is not working?

tork

New Member
Reaction score
2
This Trigger is base on an ability my paladin has that says when hes attack that there is 10/15/20/25/30% chance that a healing wave will heal him and bonce and heals his friends and this trigger that i made doesnt seem to work plz tell me what i did worng thanks you




Code:
HolyShield
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacked unit) has buff Holy Shield (Paladin)) Equal to True
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random integer number between 0 and 100) Less than or equal to (5 + (5 x (Level of Holy Shield (Paladin) for (Attacked unit))))
            Then - Actions
                Set Paladin = (Attacked unit)
                Unit - Create 1 Shadow Hunter for (Owner of (Attacked unit)) at (Position of (Attacked unit)) facing Default building facing degrees
                Unit - Add Healing Wave (Paladin) to (Last created unit)
                Unit - Set level of Holy Light (Paladin) for (Last created unit) to (Level of Holy Shield (Paladin) for (Attacked unit))
                Unit - Order (Last created unit) to Orc Shadow Hunter - Healing Wave Paladin
                Unit - Remove (Last created unit) from the game
            Else - Actions
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
You're removing the unit simultaneously, so they dont take enough time to cast the spell
replace
unit-remove last created unit
with
unit-add generic expiring timer (or something worded like that)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top