From 3f827cebd88927ed4ed41d38620aa6f931d4da44 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 15 May 2024 20:23:39 -0500 Subject: [PATCH] boxed characters now get recurring travel stance effect --- src/engine/objects/PlayerCharacter.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index e927dace..2ff66807 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -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); }