Browse Source

skin the beast work son all but templar

lakebane
FatBoy-DOTC 3 days ago
parent
commit
99ad461a82
  1. 8
      src/engine/gameManager/PowersManager.java

8
src/engine/gameManager/PowersManager.java

@ -821,6 +821,14 @@ public enum PowersManager {
if(msg.getPowerUsedID() == 429407306 || msg.getPowerUsedID() == 429495514){ if(msg.getPowerUsedID() == 429407306 || msg.getPowerUsedID() == 429495514){
applyPower(playerCharacter,playerCharacter,playerCharacter.loc,-1357244487,msg.getNumTrains(),false); // 3 second power block 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()) { if (playerCharacter.isCasting()) {
playerCharacter.update(false); playerCharacter.update(false);
playerCharacter.updateStamRegen(-100); playerCharacter.updateStamRegen(-100);

Loading…
Cancel
Save