Browse Source

player update optimized

lakebane-new-effects
FatBoy-DOTC 1 month ago
parent
commit
76284cf3c9
  1. 10
      src/engine/objects/PlayerCharacter.java

10
src/engine/objects/PlayerCharacter.java

@ -5184,8 +5184,14 @@ public class PlayerCharacter extends AbstractCharacter { @@ -5184,8 +5184,14 @@ public class PlayerCharacter extends AbstractCharacter {
}
}
if (this.isBoxed && !this.containsEffect(1672601862)) {
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
if (this.isBoxed && !this.containsEffect(508555434)) {
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 508555434, 40, false);
}
if (this.ZergMultiplier != 1.0f && !this.containsEffect(-906894951)) {
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, -906894951, 40, false);
}else if(this.containsEffect(-906894951)){
this.effects.remove("Zerg Penalty");
}
if (this.isFlying()) {

Loading…
Cancel
Save