boxed characters now get recurring travel stance effect

This commit is contained in:
2024-05-15 20:23:39 -05:00
parent ae734cbb0a
commit 3f827cebd8
+7 -4
View File
@@ -4863,17 +4863,20 @@ public class PlayerCharacter extends AbstractCharacter {
ItemFactory.fillInventory(this, 980066, 1);
}
}
if(this.isBoxed) {
if(this.title.equals(CharacterTitle.BOX) == false) {
if(!this.title.equals(CharacterTitle.BOX)) {
this.title = CharacterTitle.BOX;
InterestManager.reloadCharacter(this);
}
if (this.containsEffect(1672601862) == false) {//Deathshroud
if (!this.containsEffect(1672601862)) {//Deathshroud
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
}
if(!this.getEffects().containsKey("MoveBuff")){
PowersManager.applyPower(this, this, this.loc, 1514898036, 40, false);
}
}else{
if(this.title.equals(CharacterTitle.NONE) == false) {
if(!this.title.equals(CharacterTitle.NONE)) {
this.title = CharacterTitle.NONE;
InterestManager.reloadCharacter(this);
}