protected override void OnTarget(Mobile from, object targ) { if (targ is BaseAnimal) { BaseAnimal ba = (BaseAnimal)targ; if ((ba.ControlMaster == from && ba.Owner == null) || ba.Owner == from) { ba.Owner = t_bi.ranchstone.Owner; ba.Brand = t_bi.ranchstone.Ranch; from.PlaySound(0x3B5); ba.PlaySound(ba.GetHurtSound()); from.SendMessage("Animal branded!"); ba.InvalidateProperties(); t_bi.Hot = Utility.RandomBool(); //false; if (!t_bi.Hot) { from.SendMessage("The branding iron cools."); } } else { from.SendMessage("You don't own that animal."); } } else { from.SendMessage("You can't brand that."); } }