|  |  | @ -199,6 +199,10 @@ public enum PowersManager { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return; |  |  |  |             return; | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if(msg.getPowerUsedID() == -1851459567){//backstab
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             applyPower(pc,pc,pc.loc,-1851459567,msg.getNumTrains(),false); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (usePowerA(msg, origin, sendCastToSelf)) { |  |  |  |         if (usePowerA(msg, origin, sendCastToSelf)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             // Cast failed for some reason, reset timer
 |  |  |  |             // Cast failed for some reason, reset timer
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -1979,17 +1983,21 @@ public enum PowersManager { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if(AbstractCharacter.IsAbstractCharacter(awo)) { |  |  |  |         if(AbstractCharacter.IsAbstractCharacter(awo)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             try { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 boolean immune = false; |  |  |  |                 boolean immune = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |             AbstractCharacter absChar = (AbstractCharacter)awo; |  |  |  |                 AbstractCharacter absChar = (AbstractCharacter) awo; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 for (AbstractEffectModifier mod : ab.getPowerAction().getEffectsBase().getModifiers()) { |  |  |  |                 for (AbstractEffectModifier mod : ab.getPowerAction().getEffectsBase().getModifiers()) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (absChar.getBonuses() != null){ |  |  |  |                     if (absChar.getBonuses() != null) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     if(absChar.getBonuses().getBool(ModType.ImmuneTo, mod.sourceType) || absChar.getBonuses().getBool(ModType.NoMod, mod.sourceType)) |  |  |  |                         if (absChar.getBonuses().getBool(ModType.ImmuneTo, mod.sourceType) || absChar.getBonuses().getBool(ModType.NoMod, mod.sourceType)) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                             immune = true; |  |  |  |                             immune = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     } |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             if(immune) |  |  |  |                 if (immune) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                     return; |  |  |  |                     return; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }catch(Exception e){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |