public override void OnGotMeleeAttack(Mobile d)
{
if (0.2 >= Utility.RandomDouble())
{
this.Say(500131);
}
if (this.Hits < this.HitsMax / 2)
{
if (BandageContext.GetContext(this) == null)
{
BandageContext.BeginHeal(this, this);
this.Say("*Aplicandose vendajes*");
}
}
if (d is BaseCreature)
{
BaseCreature t = (BaseCreature)d;
if (t.Controlled && !(t as BaseCreature).IsDispellable)
{
if (0.5 >= Utility.RandomDouble())
{
t.Combatant = null;
t.Warmode = false;
t.Pacify(this, DateTime.Now + TimeSpan.FromSeconds(20.0));
}
if (this.Combatant == t)
{
this.Provoke(this, t.ControlMaster, true);
}
}
}
}