if unit has abillity condition?

Cdo

New Member
Reaction score
5
hi i was working on a skill that i'm now re-doing so i can make a mode where player can choose there own skills like in OMG DOTA, anyway i can't seem to find a condition for if unit has abillity.
i want to check that a unit has the resilience abillity and if they have it increase there mana depending on there life and all i need help with is the condition... if anyone knows it i'd appreciate the help:thup:

here's my trigger so far
Trigger:
  • Resiliance
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
            • Then - Actions
              • Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) + ((Life of (Picked unit)) / 500.00))
            • Else - Actions

I get the feeling this is a really nooby question but i just can't work it out and any help would be appreciated.
 

Cdo

New Member
Reaction score
5
I wasn't sure if it worked with unit abillities... anyway thanks for the help:thup:
 
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