• 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.

[Solved] Crit immunity?

Status
Not open for further replies.
Yh but you need to make the Critical strike passive ability a triggers ability so ur trigger ability can detect if attacked enemy has the Anti-critical-strikes passive ability

Use this trigger, this is one of the most helpful triggers ever made
So I installed DE, how to set up critical immunity?
 
Level 23
Joined
Apr 8, 2017
Messages
1,605
I cant explain as i would like to (cuz i dont have a pc rn n i forgot how the DE trigger look like) but its not that hard

Check if DamageEventSource(attacker) unit has Critical strike passive (YOU NEED A FAKE CRITICAL STRIKE PASSIVE ABILITY)
-
Check
IF DamageEventTarget(attacked unit) has Crit-immunity passive


IF YES > here u can do whatever u want, like showing a floating text saying "immune" or idk xd

IF NOT > then
Set a Variable to Random-number-between- X -and- Y (you decide here), 1/4 means there is a 25% chance to do the Crit strike
-
Then check IF that VAR is 1, if yes then set the variable "DamageEventAmout" to DamageEventAmout X 3
 
Status
Not open for further replies.
Top