protected override void OnTarget(Mobile from, object targeted) { if (m_Bandage.Deleted) { return; } if (targeted is Mobile) { if (!HasFreeHand(from)) { from.SendMessage("Vous devez avoir les mains libres pour pouvoir soigner."); } else if (from.Mounted) { from.SendMessage("Vous ne pouvez soigner sur une monture."); } else if (targeted is PlayerMobile && ((PlayerMobile)targeted).MortEngine.RisqueDeMort) { from.SendMessage("Cette personne est trop affaiblie pour être soignée."); } else if (HasChestArmor((Mobile)targeted)) { from.SendMessage("Vous ne pouvez soigner si la personne porte un plastron."); } else if (from.InRange(m_Bandage.GetWorldLocation(), 1)) { BandageContext context = BandageContext.GetContext((Mobile)targeted); if (context != null) { from.SendMessage("Vous devez attendre avant de soigner à nouveau cette personne."); } else if (BandageContext.BeginHeal(from, (Mobile)targeted) != null) { m_Bandage.Consume(); } } else { from.SendLocalizedMessage(500295); // You are too far away to do that. } } else { from.SendLocalizedMessage(500970); // Bandages can not be used on that. } }