示例#1
0
        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;
        }
示例#2
0
 private void cureCond(Unit target, EUnitCondition condition)
 {
     target.CureCondEffects(condition, true, false);
 }