• 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.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

[Trigger] Chance to block spell trigger

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,243
Level 6
Joined
Jan 2, 2015
Messages
171
sorry for asking again but i couldnt find this trigger which is:

-Level of ability x for unit > 0
-Random integer between 1 and 100 less than 25 || This would be 25% chance

Here is my trigger that i just created base from ur post

Spell Block
Events
Game - PDD_damageEventTrigger becomes Equal to 1.00
Conditions
PDD_damageType Equal to PDD_SPELL
(Level of (Ability being cast) for (Triggering unit)) Greater than 0
Actions
Set PDD_amount = 0.00
 
Status
Not open for further replies.
Top