From 9f13f5fc5d249ee1be1e98e13d04891d6f77a21a Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 5 Jan 2025 10:56:14 -0600 Subject: [PATCH] add sprint to shade stealth --- src/engine/gameManager/PowersManager.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index b1d86e70..cd92213c 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -788,8 +788,12 @@ public enum PowersManager { return; if((msg.getPowerUsedID() == 429495514 || msg.getPowerUsedID() == 429407306) && playerCharacter.getRace().getName().toLowerCase().contains("shade")){ - //msg.setPowerUsedID(407015607); + //use sneak instead of hide + PowersBase pb = PowersManager.getPowerByToken(429397210); + float movementPenalty = 0.01f * (50 - msg.getNumTrains()); + int offsetTrains = (40 - msg.getNumTrains()) ; applyPower(playerCharacter,playerCharacter,playerCharacter.loc,429397210,msg.getNumTrains(),false); + applyPower(playerCharacter,playerCharacter,playerCharacter.loc,427857146,offsetTrains,false); } if(msg.getPowerUsedID() == 429494441) {//wildkins chase playerCharacter.removeEffectBySource(EffectSourceType.Root,40,true);