|
|
@ -344,14 +344,6 @@ public enum PowersManager { |
|
|
|
} else |
|
|
|
} else |
|
|
|
CSRCast = true; |
|
|
|
CSRCast = true; |
|
|
|
|
|
|
|
|
|
|
|
if(pb.isHarmful){ |
|
|
|
|
|
|
|
//manually break stealth for offensive casts
|
|
|
|
|
|
|
|
if(playerCharacter.getHidden() > 0) { |
|
|
|
|
|
|
|
playerCharacter.setHidden(0); |
|
|
|
|
|
|
|
playerCharacter.removeEffectBySource(EffectSourceType.Invisibility,40, true); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// get numTrains for power
|
|
|
|
// get numTrains for power
|
|
|
|
int trains = msg.getNumTrains(); |
|
|
|
int trains = msg.getNumTrains(); |
|
|
|
int token = pb.token; |
|
|
|
int token = pb.token; |
|
|
|