UO-Dev Arama


Yazar: Bilinmiyor
Tarih: 18-08-2009 13:01


Paylaş : Paylaş

Kod:
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 ) );
}
}
}



Yorumlar

Henüz yorum yapılmamıştır.

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış   
Oylar: 0

Benzer Sayfalar

SayfalarYorumlarGönderenTarih


Keywords:

ultima online, RunUO, ultima online download, sphere scripting, role play, uo grafik, second age ultima, uo loop, macroman, pvp server, server kurulumu, sphere, multool, ml mulls, 56b 55r 55i, htmlgumps, client 4x, client edit, sphere release, osi, rp server, sunucular, ghost mouse, inside uo, kingdom reborn, stygian abyss, uo nasıl oynanır, mondain's legacy, age of shadows, world build, grandmaster, ultima online pvp, player dosyaları, ultima online indir, frp game, RunUO 1.0.0, razor, uo rice, hue editör, skill tools, ultima online patch, axis, world build, verdata, verdata patcher, map editör, gump editör, mul patcher, aos mulls, scriptler, anim edit, anim publish, hues mul, hosting vps, event dialog, account sistemi, skill gain, static yapımı,