Little Question - Target Undead

garion992

TH.net Regular
Reaction score
17
I Have an item, called Undead Slayer. The item has 10% chance to deal 350 damage to Undead units. How can i target Undead units in triggers?

thx, Garion992
 

Idontknowyou

New Member
Reaction score
33
Event
generic unit event- unit uses an item

conditions
and all conditions are true
Item- Item being manipulated is equal to ..........
Boolean- Targeted unit is undead is equal to true

Actions
unit- set life of (targeted unit) to (life of targeted unit) - ( however much damage you want to do)
 

garion992

TH.net Regular
Reaction score
17
yes, i know how to do that, the only problem was that i couldn't find the Boolean.. oops
But thx anyway
 
D

Down

Guest
you could also make it a orb of slow that holy lights on a 10%
 

garion992

TH.net Regular
Reaction score
17
that would work too! But i needed the boolean for other purposses as wel, like a hero that can only heal undeads and Turn Undead etc...
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
Is this resolved yet?
AceHart meant this,
Make a trigger. When a unit is attacked, check the attackER unit if he has that ability. Then check if the attackED unit is Undead, using Boolean expression : Unit is Undead
Then just make a random integer from 1-100, if it is <= 10, cause attackER to damage the attackED for 350 damage.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top