|
|
@ -46,13 +46,6 @@ public class ApplyEffectPowerAction extends AbstractPowerAction { |
|
|
|
this.effect = effects.get(this.effectID); |
|
|
|
this.effect = effects.get(this.effectID); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ApplyEffectPowerAction(ResultSet rs, EffectsBase effect) throws SQLException { |
|
|
|
|
|
|
|
super(rs); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.effectID = rs.getString("effectID"); |
|
|
|
|
|
|
|
this.effect = effect; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static boolean blockInvul(PowersBase pb, AbstractCharacter source, AbstractWorldObject awo) { |
|
|
|
private static boolean blockInvul(PowersBase pb, AbstractCharacter source, AbstractWorldObject awo) { |
|
|
|
if (awo == null || pb == null || source == null) |
|
|
|
if (awo == null || pb == null || source == null) |
|
|
|
return false; |
|
|
|
return false; |
|
|
@ -65,7 +58,6 @@ public class ApplyEffectPowerAction extends AbstractPowerAction { |
|
|
|
|
|
|
|
|
|
|
|
AbstractCharacter ac = (AbstractCharacter) awo; |
|
|
|
AbstractCharacter ac = (AbstractCharacter) awo; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|