using System;
using System.Collections;
using Server;
using Server.Items;
using Server.Mobiles;
using Server.Gumps;
namespace Server.Scripts.Commands
{
public class pot
{
public static void Initialize()
{
Server.Commands.Register( "Pots", AccessLevel.Player, new CommandEventHandler( pot_OnCommand ) );
}
public static void pot_OnCommand( CommandEventArgs e )
{
int batwing = e.Mobile.Backpack.GetAmount( typeof( Bandage ) );
int blackpearl = e.Mobile.Backpack.GetAmount( typeof( BaseHealPotion ) );
int bloodmoss = e.Mobile.Backpack.GetAmount( typeof( BaseCurePotion ) );
int daemonblood = e.Mobile.Backpack.GetAmount( typeof( BaseStrengthPotion ) );
int garlic = e.Mobile.Backpack.GetAmount( typeof( BaseAgilityPotion ) );
int ginseng = e.Mobile.Backpack.GetAmount( typeof( BaseRefreshPotion ) );
int gravedust = e.Mobile.Backpack.GetAmount( typeof( BasePoisonPotion ) );
int mandrake = e.Mobile.Backpack.GetAmount( typeof( NightSightPotion ) );
e.Mobile.CloseGump( typeof ( PotGump ) );
e.Mobile.SendGump( new PotGump( batwing , blackpearl , bloodmoss , daemonblood , garlic , ginseng , gravedust , mandrake ) );
}
}
}
Total votes: 0
Bulunamadı.
Ultima Online 1 gün önce
Sunucular 2 gün önce
Sunucular 2 gün önce
Ultima Online 2 hafta önce
Counter-Strike 2 hafta önce
Sunucular 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Sunucular 1 ay önce
Sohbet & Geyik 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Ultima Online 2 ay önce
2024-10-31 22:47
2024-10-14 17:45
2024-09-26 14:21
2024-07-08 22:50
2024-07-08 22:34
2024-06-19 22:05
2024-06-01 02:19
2024-05-31 21:17
Yorumlar (0)