Пример #1
0
 private static void On_RepairItem(CraftSystem sys, Mobile from)
 {
     if (sys != null && sys is BlacksmithSystem)
     {
         if (sys.CheckTool())
         {
             from.BeginTarget(1, false, TargetFlags.None, new TargetCallback(BlacksmithSystem.RepairTarget));
             from.SendAsciiMessage("What would you like to repair?");
         }
         sys.End();
     }
 }
Пример #2
0
 private static void On_RepairItem( CraftSystem sys, Mobile from )
 {
     if ( sys != null && sys is BlacksmithSystem )
     {
         if ( sys.CheckTool() )
         {
             from.BeginTarget( 1, false, TargetFlags.None, new TargetCallback( BlacksmithSystem.RepairTarget ) );
             from.SendAsciiMessage( "What would you like to repair?" );
         }
         sys.End();
     }
 }