Fixed stun skills dealing 0 damage on targets with stun invul.
Contributed by Sahar.
This commit is contained in:
parent
c573b2ef4c
commit
0077cdb62d
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1289,6 +1289,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1289,6 +1289,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1289,6 +1289,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1288,6 +1288,11 @@ public class Formulas
|
||||
|
||||
if (target.getStat().isInvulnerableTrait(traitType))
|
||||
{
|
||||
// Fixes stun skills dealing 0 damage on targets with stun invul.
|
||||
if (ignoreResistance && (traitType.getType() == 3))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user