private void cureCond(Unit target, EUnitCondition condition, LogMapTrick.TargetInfo log_mt_ti) { bool flag = target.IsUnitCondition(condition); target.CureCondEffects(condition, true, false); if (log_mt_ti == null || !flag || target.IsUnitCondition(condition)) { return; } log_mt_ti.IsEffective = true; log_mt_ti.CureCondition |= condition; }
private void cureCond(Unit target, EUnitCondition condition) { target.CureCondEffects(condition, true, false); }