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
I get the feeling this is a really nooby question but i just can't work it out and any help would be appreciated.
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
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
- Events
I get the feeling this is a really nooby question but i just can't work it out and any help would be appreciated.