Browse Source

boxshroud fixes

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
aa0e993038
  1. 8
      src/engine/objects/PlayerCharacter.java

8
src/engine/objects/PlayerCharacter.java

@ -4825,16 +4825,12 @@ public class PlayerCharacter extends AbstractCharacter { @@ -4825,16 +4825,12 @@ public class PlayerCharacter extends AbstractCharacter {
continue;
if (this.getClientConnection().machineID.equals(pc.getClientConnection().machineID)) {
//add deatshroud effect
if (pc.isBoxed == true)
continue;
this.isBoxed = true;
break;
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
return;
}
}
}
if(this.isBoxed && this.containsEffect(1672601862) == false)
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
} catch (Exception e) {
Logger.error(e);

Loading…
Cancel
Save