Browse Source

Boxed Title

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

10
src/engine/objects/PlayerCharacter.java

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

Loading…
Cancel
Save