@Override public void unapplyOverride() { final FightPropertyType property = FightPropertyType.getPropertyFromId(this.m_value); if (property == null) { return; } this.m_target.removeProperty(property); super.unapplyOverride(); }
@Override protected void executeOverride(final RunningEffect triggerRE, final boolean trigger) { if (this.m_target == null) { this.setNotified(true); return; } final FightPropertyType property = FightPropertyType.getPropertyFromId(this.m_value); if (property == null) { this.setNotified(true); return; } this.m_target.addProperty(property); }