public override bool Start(Living living)
        {
            ReduceStrengthEffect reduceStrengthEffect = living.EffectList.GetOfType(eEffectType.ReduceStrengthEffect) as ReduceStrengthEffect;

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

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