Exemple #1
0
        public override bool Start(Living living)
        {
            LockDirectionEffect lockDirectionEffect = living.EffectList.GetOfType(eEffectType.ContinueDamageEffect) as LockDirectionEffect;

            if (lockDirectionEffect != null)
            {
                lockDirectionEffect.m_count = this.m_count;
                return(true);
            }
            return(base.Start(living));
        }
Exemple #2
0
        public override bool Start(Living living)
        {
            LockDirectionEffect effect = living.EffectList.GetOfType(eEffectType.LockDirectionEffect) as LockDirectionEffect;
            bool result;

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