Browse Source

boxed characters now get recurring travel stance effect

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
3f827cebd8
  1. 11
      src/engine/objects/PlayerCharacter.java

11
src/engine/objects/PlayerCharacter.java

@ -4863,17 +4863,20 @@ public class PlayerCharacter extends AbstractCharacter { @@ -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);
}

Loading…
Cancel
Save