From 99ad461a82179e9eb3f827c9defa17c7a796acd8 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 27 Jan 2025 17:35:39 -0600 Subject: [PATCH] skin the beast work son all but templar --- src/engine/gameManager/PowersManager.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index 217f6c1d..118c0a05 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -821,6 +821,14 @@ public enum PowersManager { if(msg.getPowerUsedID() == 429407306 || msg.getPowerUsedID() == 429495514){ applyPower(playerCharacter,playerCharacter,playerCharacter.loc,-1357244487,msg.getNumTrains(),false); // 3 second power block } + + if(msg.getTargetType() == GameObjectType.PlayerCharacter.ordinal()) { + PlayerCharacter target = PlayerCharacter.getPlayerCharacter(msg.getTargetID()); + if (msg.getPowerUsedID() == 429601664) + if(target.getPromotionClassID() != 2516) + PlayerCharacter.getPlayerCharacter(msg.getTargetID()).removeEffectBySource(EffectSourceType.Transform, msg.getNumTrains(), true); + } + if (playerCharacter.isCasting()) { playerCharacter.update(false); playerCharacter.updateStamRegen(-100);