public override void OnGotMeleeAttack(Mobile attacker) { base.OnGotMeleeAttack(attacker); if (0.01 > Utility.RandomDouble() && m_Summons.Count < 4) { BaseCreature summon = null; if (Utility.RandomBool()) { summon = new EnslavedSatyr(); } else { summon = new InsaneDryad(); } summon.Team = this.Team; summon.MoveToWorld(this.Location, this.Map); m_Summons.Add(summon); Say(1075119); // Awake my children! I summon thee! } if (0.2 >= Utility.RandomDouble()) { Say(Utility.RandomList(1075102, 1075118)); } if (0.1 >= Utility.RandomDouble()) { DrainLife(); } }
public override void OnGotMeleeAttack( Mobile attacker ) { base.OnGotMeleeAttack( attacker ); if ( 0.01 > Utility.RandomDouble() && m_Summons.Count < 4 ) { BaseCreature summon = null; if ( Utility.RandomBool() ) summon = new EnslavedSatyr(); else summon = new InsaneDryad(); summon.Team = this.Team; summon.MoveToWorld( this.Location, this.Map ); m_Summons.Add( summon ); Say( 1075119 ); // Awake my children! I summon thee! } if ( 0.2 >= Utility.RandomDouble() ) Say( Utility.RandomList( 1075102, 1075118 ) ); if ( 0.1 >= Utility.RandomDouble() ) DrainLife(); }