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)); }
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)); } }
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); }