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ı.
Sphere Scripting 6 saat önce
CS 1.6 2 hafta önce
Sunucular 1 ay önce
Sunucular 1 ay önce
Sunucular 1 ay önce
Sunucular 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Ultima Online 2 ay önce
Ultima Online 2 ay önce
Ultima Online 2 ay önce
2024-06-01 02:19
2024-05-31 21:17
2024-04-09 16:53
2024-04-06 18:20
2024-04-06 17:43
2024-04-06 17:21
2024-03-28 17:47
2024-03-25 02:51
Yorumlar (0)