mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
Paralyze will no longer work with other abilities
This commit is contained in:
parent
653aeb8718
commit
78b6ee6278
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@ public class PKListener implements Listener {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (e.getCause() == DamageCause.ENTITY_ATTACK) {
|
if (e.getCause() == DamageCause.ENTITY_ATTACK) {
|
||||||
if (Methods.getBoundAbility(sourceplayer) != null && Methods.getBoundAbility(sourceplayer).equalsIgnoreCase("Paralyze")) {
|
if (Methods.getBoundAbility(sourceplayer) != null && Methods.getBoundAbility(sourceplayer).equalsIgnoreCase("Paralyze") && e.getDamage() == 1) {
|
||||||
if (ChiPassive.willChiBlock(targetplayer)) {
|
if (ChiPassive.willChiBlock(targetplayer)) {
|
||||||
new Paralyze(sourceplayer, targetplayer);
|
new Paralyze(sourceplayer, targetplayer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue