Exemplo n.º 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;
        }
Exemplo n.º 2
0
 private void cureCond(Unit target, EUnitCondition condition)
 {
     target.CureCondEffects(condition, true, false);
 }