예제 #1
0
        public override bool Start(Living living)
        {
            ContinueReduceBloodEffect continueReduceBloodEffect = living.EffectList.GetOfType(eEffectType.ContinueDamageEffect) as ContinueReduceBloodEffect;

            if (continueReduceBloodEffect != null)
            {
                continueReduceBloodEffect.m_count = this.m_count;
                return(true);
            }
            return(base.Start(living));
        }
        public override bool Start(Living living)
        {
            ContinueReduceBloodEffect effect = living.EffectList.GetOfType(eEffectType.ContinueReduceBloodEffect) as ContinueReduceBloodEffect;
            bool result;

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