|
|
@ -787,14 +787,13 @@ public enum PowersManager { |
|
|
|
if (playerCharacter == null || msg == null) |
|
|
|
if (playerCharacter == null || msg == null) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
if((msg.getPowerUsedID() == 429495514 || msg.getPowerUsedID() == 429407306) && playerCharacter.getRace().getName().toLowerCase().contains("shade")){ |
|
|
|
//if((msg.getPowerUsedID() == 429495514 || msg.getPowerUsedID() == 429407306) && playerCharacter.getRace().getName().toLowerCase().contains("shade")){
|
|
|
|
//use sneak instead of hide
|
|
|
|
// //use sneak instead of hide
|
|
|
|
PowersBase pb = PowersManager.getPowerByToken(429397210); |
|
|
|
// PowersBase pb = PowersManager.getPowerByToken(429397210);
|
|
|
|
float movementPenalty = 0.01f * (50 - msg.getNumTrains()); |
|
|
|
// int offsetTrains = (40 - msg.getNumTrains()) ;
|
|
|
|
int offsetTrains = (40 - msg.getNumTrains()) ; |
|
|
|
// applyPower(playerCharacter,playerCharacter,playerCharacter.loc,429397210,msg.getNumTrains(),false);
|
|
|
|
applyPower(playerCharacter,playerCharacter,playerCharacter.loc,429397210,msg.getNumTrains(),false); |
|
|
|
// applyPower(playerCharacter,playerCharacter,playerCharacter.loc,427857146,offsetTrains,false);
|
|
|
|
applyPower(playerCharacter,playerCharacter,playerCharacter.loc,427857146,offsetTrains,false); |
|
|
|
//}
|
|
|
|
} |
|
|
|
|
|
|
|
if(msg.getPowerUsedID() == 429494441) {//wildkins chase
|
|
|
|
if(msg.getPowerUsedID() == 429494441) {//wildkins chase
|
|
|
|
playerCharacter.removeEffectBySource(EffectSourceType.Root,40,true); |
|
|
|
playerCharacter.removeEffectBySource(EffectSourceType.Root,40,true); |
|
|
|
playerCharacter.removeEffectBySource(EffectSourceType.Snare,40,true); |
|
|
|
playerCharacter.removeEffectBySource(EffectSourceType.Snare,40,true); |
|
|
|