• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Single target evasion grant ability

Status
Not open for further replies.
Level 9
Joined
Jun 10, 2013
Messages
473
Hey :D I need help with an ability and any trigger post would be much appreciated.

The ability is called "Shadows Protection"

and it would be a single target cast on an allied unit or structure

it would grant the targeted unit/structure a 50% chance to evade an attack and would last 30 seconds
 

Ardenian

A

Ardenian

Take any single target ability, remove its bonus, change targets allowed and use a damage engine ( Bribe's or the PDD by looking_for_help) to check upon event whether the unit has the buff received from the single target spell and roll a number between 1 or 2 and nullify damage if true.
 
Yep. Using http://www.hiveworkshop.com/forums/spells-569/gui-damage-engine-v3-5-4-1-a-201016/, your trigger would look like this:

  • Temporary Evade
    • Events
      • Game - DamageModifierEvent becomes Equal to 1.00
    • Conditions
      • (DamageEventTarget has buff TemporaryEvade) Equal to True
      • (Random number between 0 and 1) Equal to 0
    • Actions
      • Set DamageEventAmount = 0.00
The only thing to do is make that buff "temporary evade" last for 30 seconds.
 
Status
Not open for further replies.
Top