protected override void OnTarget(Mobile from, object targeted) { if (t_mace.Charges > 0) { if (targeted is Mobile) { from.Hidden = false; t_mace.Charges--; t_mace.Hue = 2115; t_mace.DoMeteorSwarm(from, (Mobile)targeted); MeteorRechargeTimer t = new MeteorRechargeTimer(from, t_mace); t.Start(); } else { from.SendMessage("That is not a valid target!"); } } else { from.SendMessage("You do not have any more charges!"); } }
protected override void OnTarget( Mobile from, object targeted ) { if ( t_mace.Charges > 0 ) { if ( targeted is Mobile ) { from.Hidden = false; t_mace.Charges--; t_mace.Hue = 2115; t_mace.DoMeteorSwarm( from, (Mobile)targeted ); MeteorRechargeTimer t = new MeteorRechargeTimer( from, t_mace ); t.Start(); } else { from.SendMessage( "That is not a valid target!" ); } } else { from.SendMessage( "You do not have any more charges!" ); } }