Ejemplo n.º 1
0
        public override bool Start(Living living)
        {
            InvinciblyEffect invinciblyEffect = living.EffectList.GetOfType(eEffectType.InvinciblyEffect) as InvinciblyEffect;

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

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