public override bool Start(Living living) { AddDanderEquipEffect addDanderEquipEffect = living.EffectList.GetOfType(eEffectType.AddDander) as AddDanderEquipEffect; if (addDanderEquipEffect != null) { this.m_probability = ((this.m_probability > addDanderEquipEffect.m_probability) ? this.m_probability : addDanderEquipEffect.m_probability); return(true); } return(base.Start(living)); }
public override bool Start(Living living) { AddDanderEquipEffect effect = living.EffectList.GetOfType(eEffectType.AddDander) as AddDanderEquipEffect; if (effect != null) { 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) { AddDanderEquipEffect effect = living.EffectList.GetOfType(eEffectType.AddDander) as AddDanderEquipEffect; bool result; if (effect != null) { this.m_probability = ((this.m_probability > effect.m_probability) ? this.m_probability : effect.m_probability); result = true; } else { result = base.Start(living); } return(result); }