Esempio n. 1
0
        public override bool Start(Living living)
        {
            ContinueReduceDamageEffect continueReduceDamageEffect = living.EffectList.GetOfType(eEffectType.ContinueDamageEffect) as ContinueReduceDamageEffect;

            if (continueReduceDamageEffect != null)
            {
                continueReduceDamageEffect.m_count = this.m_count;
                return(true);
            }
            return(base.Start(living));
        }
Esempio n. 2
0
        public override bool Start(Living living)
        {
            ContinueReduceDamageEffect effect = living.EffectList.GetOfType(eEffectType.ContinueReduceDamageEffect) as ContinueReduceDamageEffect;
            bool result;

            if (effect != null)
            {
                effect.m_turn = this.m_turn;
                result        = true;
            }
            else
            {
                result = base.Start(living);
            }
            return(result);
        }