Browse Source

Boxed Title

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
d84b214fd3
  1. 6
      src/engine/objects/PlayerCharacter.java

6
src/engine/objects/PlayerCharacter.java

@ -4846,12 +4846,18 @@ public class PlayerCharacter extends AbstractCharacter {
} }
if(this.isBoxed) { if(this.isBoxed) {
if(this.title.equals(CharacterTitle.BOX) == false) {
this.title = CharacterTitle.BOX; this.title = CharacterTitle.BOX;
InterestManager.reloadCharacter(this);
}
if (this.containsEffect(1672601862) == false) {//Deathshroud if (this.containsEffect(1672601862) == false) {//Deathshroud
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false); PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
} }
}else{ }else{
if(this.title.equals(CharacterTitle.NONE) == false) {
this.title = CharacterTitle.NONE; this.title = CharacterTitle.NONE;
InterestManager.reloadCharacter(this);
}
} }
} }

Loading…
Cancel
Save