[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?
 
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.
Back
Top