public override void OnGotMeleeAttack(Mobile attacker) { if (attacker != this && 0.05 > Utility.RandomDouble()) { BaseCreature wolf = new BaneHellHound(); wolf.Team = this.Team; wolf.MoveToWorld(this.Location, this.Map); wolf.Combatant = attacker; Say("*The bane chosen summons a beast!*"); } base.OnGotMeleeAttack(attacker); }
public override void OnDamagedBySpell(Mobile caster) { if (caster != this && 0.05 > Utility.RandomDouble()) { BaseCreature wolf = new BaneHellHound( ); wolf.Team = this.Team; wolf.MoveToWorld(this.Location, this.Map); wolf.Combatant = caster; Say("*The bane chosen summons a beast!*"); } base.OnDamagedBySpell(caster); }
public override void OnGotMeleeAttack( Mobile attacker ) { if ( attacker != this && 0.05 > Utility.RandomDouble() ) { BaseCreature wolf = new BaneHellHound(); wolf.Team = this.Team; wolf.MoveToWorld( this.Location, this.Map ); wolf.Combatant = attacker; Say( "*The bane chosen summons a beast!*" ); } base.OnGotMeleeAttack( attacker ); }
public override void OnDamagedBySpell( Mobile caster ) { if ( caster != this && 0.05 > Utility.RandomDouble() ) { BaseCreature wolf = new BaneHellHound( ); wolf.Team = this.Team; wolf.MoveToWorld( this.Location, this.Map ); wolf.Combatant = caster; Say( "*The bane chosen summons a beast!*" ); } base.OnDamagedBySpell( caster ); }