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

            if (sealEquipEffect != null)
            {
                sealEquipEffect.m_probability = ((this.m_probability > sealEquipEffect.m_probability) ? this.m_probability : sealEquipEffect.m_probability);
                return(true);
            }
            return(base.Start(living));
        }
예제 #2
0
        public override bool Start(Living living)
        {
            SealEquipEffect effect = living.EffectList.GetOfType(eEffectType.SealEquipEffect) as SealEquipEffect;

            if (effect != null)
            {
                effect.m_probability = m_probability > effect.m_probability ? m_probability : effect.m_probability;
                return(true);
            }
            else
            {
                return(base.Start(living));
            }
        }
예제 #3
0
        public override bool Start(Living living)
        {
            SealEquipEffect effect = living.EffectList.GetOfType(eEffectType.SealEquipEffect) as SealEquipEffect;
            bool            result;

            if (effect != null)
            {
                effect.m_probability = ((this.m_probability > effect.m_probability) ? this.m_probability : effect.m_probability);
                result = true;
            }
            else
            {
                result = base.Start(living);
            }
            return(result);
        }