Browse Source

boxed characters now get recurring travel stance effect

lakebane-master
FatBoy-DOTC 8 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 {
ItemFactory.fillInventory(this, 980066, 1); ItemFactory.fillInventory(this, 980066, 1);
} }
} }
if(this.isBoxed) { if(this.isBoxed) {
if(this.title.equals(CharacterTitle.BOX) == false) { if(!this.title.equals(CharacterTitle.BOX)) {
this.title = CharacterTitle.BOX; this.title = CharacterTitle.BOX;
InterestManager.reloadCharacter(this); InterestManager.reloadCharacter(this);
} }
if (this.containsEffect(1672601862) == false) {//Deathshroud
if (!this.containsEffect(1672601862)) {//Deathshroud
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false); PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
} }
if(!this.getEffects().containsKey("MoveBuff")){
PowersManager.applyPower(this, this, this.loc, 1514898036, 40, false);
}
}else{ }else{
if(this.title.equals(CharacterTitle.NONE) == false) { if(!this.title.equals(CharacterTitle.NONE)) {
this.title = CharacterTitle.NONE; this.title = CharacterTitle.NONE;
InterestManager.reloadCharacter(this); InterestManager.reloadCharacter(this);
} }

Loading…
Cancel
Save