|
المشاركات 599 |
+التقييم 0.29 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل Windows 7 Ultimate |
رقم العضوية 116 |
public bool AddFullItemSoul(uint ID, uint SoulID, uint SoulDays, uint RefineryID, uint RefineryDays, uint PerfectionLevel, byte plus, byte gem1, byte gem2, byte hp, byte daamge, byte times, ServerSockets.Packet stream, bool bound, bool SoulStabliz = false, int days = 0, int hours = 0, int mins = 0)
{
Database.Rifinery.Item BaseAddingItem;
Database.ItemType.DBItem ITEMDB = null;
var PurifyInformation = Database.Server.ItemsBase[SoulID];
var ItemInformation = Database.Server.ItemsBase[ID];
if (!Database.Server.ItemsBase.TryGetValue(ID, out ITEMDB))
return false;
if (HaveSpace(1))
{
MsgGameItem ItemDat = new MsgGameItem();
ItemDat.UID = Database.Server.ITEM_Counter.Next;
ItemDat.ITEM_ID = ID;
ItemDat.Durability = ItemDat.MaximDurability = ITEMDB.Durability;
ItemDat.Plus = plus;
ItemDat.SocketOne = (Flags.Gem)gem1;
ItemDat.SocketTwo = (Flags.Gem)gem2;
ItemDat.Bless = daamge;
ItemDat.Bound = (byte)(bound ? 1 : 0);
if (days == 0 && hours == 0 && mins == 0)
{
if (ITEMDB.Time != 0 && ITEMDB.StackSize == 0)
{
ItemDat.Activate = 1;
ItemDat.EndDate = DateTime.Now.AddMinutes(ITEMDB.Time);
}
}
else if (days != 0)
{
ItemDat.Activate = 1;
ItemDat.EndDate = DateTime.Now.AddDays(days);
}
else if (hours != 0)
{
ItemDat.Activate = 1;
ItemDat.EndDate = DateTime.Now.AddHours(hours);
}
else
{
ItemDat.Activate = 1;
ItemDat.EndDate = DateTime.Now.AddMinutes(mins);
}
if (hp > 0)
{
ItemDat.Enchant = (byte)(new System.Random().Next(255, 255));
}
ItemDat.PerfectionLevel = PerfectionLevel;
if (PerfectionLevel > 0)
{
ItemDat.OwnerName = Owner.Player.Name;
ItemDat.OwnerUID = Owner.Player.UID;
ItemDat.Signature = Owner.Player.ServerSignature;
}
ItemDat.Color = (Role.Flags.Color)Program.GetRandom.Next(3, 9);
if (SoulStabliz == false)
{
#region Soul with out stablize
if (Database.ItemType.CompareSoul(ItemInformation.ID, PurifyInformation.ID))
{
MsgItemExtra.Purification purify = new MsgItemExtra.Purification();
purify.AddedOn = DateTime.Now;
purify.ItemUID = ItemDat.UID;
purify.PurificationItemID = SoulID;
purify.PurificationLevel = PurifyInformation.PurificationLevel;
purify.PurificationDuration = SoulDays * 24 * 60 * 60;
purify.Typ = MsgItemExtra.Typing.PurificationEffect;
ItemDat.Purification = purify;
ItemDat.Mode = Role.Flags.ItemMode.Update;
}
#endregion
#region Rifinery with out stablize
if (Database.Server.RifineryItems.TryGetValue(RefineryID, out BaseAddingItem))
{
MsgItemExtra.Refinery Refinery = new MsgItemExtra.Refinery();
Refinery.AddedOn = DateTime.Now;
Refinery.ItemUID = ItemDat.UID;
Refinery.EffectID = RefineryID;
Refinery.EffectLevel = BaseAddingItem.Level;
Refinery.EffectPercent = BaseAddingItem.Procent;
Refinery.EffectPercent2 = BaseAddingItem.Procent2;
Refinery.EffectDuration = RefineryDays * 24 * 60 * 60;
ItemDat.Refinary = Refinery;
ItemDat.Mode = Role.Flags.ItemMode.Update;
}
#endregion
}
else
{
#region Soul with stabliz
if (Database.ItemType.CompareSoul(ItemInformation.ID, PurifyInformation.ID))
{
MsgItemExtra.Purification purify = new MsgItemExtra.Purification();
purify.AddedOn = DateTime.Now;
purify.ItemUID = ItemDat.UID;
purify.PurificationItemID = SoulID;
purify.PurificationLevel = PurifyInformation.PurificationLevel;
purify.PurificationDuration = 0;
purify.Typ = MsgItemExtra.Typing.StabilizationEffectPurification;
ItemDat.Purification = purify;
ItemDat.Mode = Role.Flags.ItemMode.Update;
}
#endregion
#region Rifinery with stablize
if (Database.Server.RifineryItems.TryGetValue(RefineryID, out BaseAddingItem))
{
MsgItemExtra.Refinery Refinery = new MsgItemExtra.Refinery();
Refinery.AddedOn = DateTime.Now;
Refinery.ItemUID = ItemDat.UID;
Refinery.EffectID = RefineryID;
Refinery.EffectDuration = 0;
Refinery.EffectLevel = BaseAddingItem.Level;
Refinery.EffectPercent = BaseAddingItem.Procent;
Refinery.EffectPercent2 = BaseAddingItem.Procent2;
Refinery.Typ = MsgItemExtra.Typing.StabilizationEffectRefined;
ItemDat.Refinary = Refinery;
ItemDat.Mode = Role.Flags.ItemMode.Update;
}
#endregion
}
try
{
Update(ItemDat, AddMode.ADD, stream);
}
catch (Exception e)
{
MyConsole.SaveException(e);
}
return true;
}
return false;
}
public bool AddTalisman(uint ID, uint PerfectionLevel, byte plus, byte gem1, byte gem2, byte hp, byte daamge, byte times, ServerSockets.Packet stream, bool bound, int days = 0, int hours = 0, int mins = 0)
{
Database.ItemType.DBItem ITEMDB = null;
if (!Database.Server.ItemsBase.TryGetValue(ID, out ITEMDB))
return false;
if (HaveSpace(1))
{
Game.MsgServer.MsgGameItem ItemDat = new Game.MsgServer.MsgGameItem();
ItemDat.UID = Database.Server.ITEM_Counter.Next;
ItemDat.ITEM_ID = ID;
ItemDat.Durability = ItemDat.MaximDurability = ITEMDB.Durability;
ItemDat.Plus = plus;
ItemDat.SocketOne = (Flags.Gem)gem1;
ItemDat.SocketTwo = (Flags.Gem)gem2;
ItemDat.Bless = daamge;
ItemDat.Bound = (byte)(bound ? 1 : 0);
if (days == 0 && hours == 0 && mins == 0)
{
if (ITEMDB.Time != 0 && ITEMDB.StackSize == 0)
{
ItemDat.Activate = 1;
ItemDat.EndDate = DateTime.Now.AddMinutes(ITEMDB.Time);
}
}
else if (days != 0)
{
ItemDat.Activate = 1;
ItemDat.EndDate = DateTime.Now.AddDays(days);
}
else if (hours != 0)
{
ItemDat.Activate = 1;
ItemDat.EndDate = DateTime.Now.AddHours(hours);
}
else
{
ItemDat.Activate = 1;
ItemDat.EndDate = DateTime.Now.AddMinutes(mins);
}
if (hp > 0)
{
ItemDat.Enchant = (byte)(new System.Random().Next(255, 255));
}
ItemDat.PerfectionLevel = PerfectionLevel;
if (PerfectionLevel > 0)
{
ItemDat.OwnerName = Owner.Player.Name;
ItemDat.OwnerUID = Owner.Player.UID;
ItemDat.Signature = Owner.Player.ServerSignature;
}
ItemDat.Color = (Role.Flags.Color)Program.GetRandom.Next(3, 9);
try
{
Update(ItemDat, AddMode.ADD, stream);
}
catch (Exception e)
{
MyConsole.SaveException(e);
}
return true;
}
return false;
}
[NpcAttribute(NpcID.SantaStuff)]
public static void SantaStuff(Client.GameClient client, ServerSockets.Packet stream, byte Option, string Input, uint id)
{
Dialog dialog = new Dialog(client, stream);
switch (Option)
{
case 0:
{
dialog.AddText("Hi <tip color=0xfff05050>")
.AddText(client.Player.Name + "</tip>,")
.AddText("Selct~What's~Equipment~you~want")
.AddOption("Headgear/Hat", 1)
.AddOption("Armor", 101)
.AddOption("Necklace", 138)
.AddOption("Weapons", 148)
.AddOption("Ring", 204)
.AddOption("Boots", 228)
.AddOption("Talisman", 238)
.AddAvatar(255).FinalizeDialog();
break;
}
#region Headgears
case 1:
{
dialog.AddText("Selct~What's~Character~you~want")
.AddOption("Trojan", 2)
.AddOption("Warrior", 13)
.AddOption("Archer", 24)
.AddOption("Ninja", 35)
.AddOption("Monk", 46)
.AddOption("Pirate", 57)
.AddOption("DragonWarrior", 68)
.AddOption("Taoist", 79)
.AddOption("WindWalker", 90)
.AddAvatar(255).FinalizeDialog();
break;
}
#region Trojan-Headgear
case 2:
{
dialog.AddText("Selct~What's~Whats~Soul~you~want")
.AddOption("Immunity", 3)
.AddOption("Anti-Break", 8)
.AddAvatar(255).FinalizeDialog();
break;
}
case 3:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 4)
.AddOption("Detoxication", 5)
.AddOption("Block", 6)
.AddOption("Penetration (Final~M-Attack)", 7)
.AddAvatar(255).FinalizeDialog();
break;
}
case 4:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(118309, 820073, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 5:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(118309, 820073, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 6:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(118309, 820073, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 7:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(118309, 820073, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 8:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 9)
.AddOption("Detoxication", 10)
.AddOption("Block", 11)
.AddOption("Penetration (Final~M-Attack)", 12)
.AddAvatar(255).FinalizeDialog();
break;
}
case 9:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(118309, 820074, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 10:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(118309, 820074, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 11:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(118309, 820074, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 12:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(118309, 820074, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Warrior-Headgear
case 13:
{
dialog.AddText("Selct~What's~Whats~Soul~you~want")
.AddOption("Immunity", 14)
.AddOption("Anti-Break", 19)
.AddAvatar(255).FinalizeDialog();
break;
}
case 14:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 15)
.AddOption("Detoxication", 16)
.AddOption("Block", 17)
.AddOption("Penetration (Final~M-Attack)", 18)
.AddAvatar(255).FinalizeDialog();
break;
}
case 15:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(141309, 820073, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 16:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(141309, 820073, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 17:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(141309, 820073, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 18:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(141309, 820073, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 19:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 20)
.AddOption("Detoxication", 21)
.AddOption("Block", 22)
.AddOption("Penetration (Final~M-Attack)", 23)
.AddAvatar(255).FinalizeDialog();
break;
}
case 20:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(141309, 820074, 12, 3004140, 0, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 21:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(141309, 820074, 12, 3004143, 0, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 22:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(141309, 820074, 12, 3004144, 0, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 23:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(141309, 820074, 12, 3004145, 0, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Archer-Headgear
case 24:
{
dialog.AddText("Selct~What's~Whats~Soul~you~want")
.AddOption("Immunity", 25)
.AddOption("Anti-Break", 30)
.AddAvatar(255).FinalizeDialog();
break;
}
case 25:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 26)
.AddOption("Detoxication", 27)
.AddOption("Block", 28)
.AddOption("Penetration (Final~M-Attack)", 29)
.AddAvatar(255).FinalizeDialog();
break;
}
case 26:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(113309, 820073, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 27:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(113309, 820073, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 28:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(113309, 820073, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 29:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(113309, 820073, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 30:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 31)
.AddOption("Detoxication", 32)
.AddOption("Block", 33)
.AddOption("Penetration (Final~M-Attack)", 34)
.AddAvatar(255).FinalizeDialog();
break;
}
case 31:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(113309, 820074, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 32:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(113309, 820074, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 33:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(113309, 820074, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 34:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(113309, 820074, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Ninja-Headgear
case 35:
{
dialog.AddText("Selct~What's~Whats~Soul~you~want")
.AddOption("Immunity", 36)
.AddOption("Anti-Break", 41)
.AddAvatar(255).FinalizeDialog();
break;
}
case 36:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 37)
.AddOption("Detoxication", 38)
.AddOption("Block", 39)
.AddOption("Penetration (Final~M-Attack)", 40)
.AddAvatar(255).FinalizeDialog();
break;
}
case 37:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(123309, 820073, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 38:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(123309, 820073, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 39:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(123309, 820073, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 40:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(123309, 820073, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 41:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 42)
.AddOption("Detoxication", 43)
.AddOption("Block", 44)
.AddOption("Penetration (Final~M-Attack)", 45)
.AddAvatar(255).FinalizeDialog();
break;
}
case 42:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(123309, 820074, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 43:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(123309, 820074, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 44:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(123309, 820074, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 45:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(123309, 820074, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Monk-Headgear
case 46:
{
dialog.AddText("Selct~What's~Whats~Soul~you~want")
.AddOption("Immunity", 47)
.AddOption("Anti-Break", 52)
.AddAvatar(255).FinalizeDialog();
break;
}
case 47:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 48)
.AddOption("Detoxication", 49)
.AddOption("Block", 50)
.AddOption("Penetration (Final~M-Attack)", 51)
.AddAvatar(255).FinalizeDialog();
break;
}
case 48:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(143309, 820073, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 49:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(143309, 820073, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 50:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(143309, 820073, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 51:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(143309, 820073, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 52:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 53)
.AddOption("Detoxication", 54)
.AddOption("Block", 55)
.AddOption("Penetration (Final~M-Attack)", 56)
.AddAvatar(255).FinalizeDialog();
break;
}
case 53:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(143309, 820074, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 54:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(143309, 820074, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 55:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(143309, 820074, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 56:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(143309, 820074, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Pirate-Headgear
case 57:
{
dialog.AddText("Selct~What's~Whats~Souls~you~want")
.AddOption("Immunity", 58)
.AddOption("Anti-Break", 63)
.AddAvatar(255).FinalizeDialog();
break;
}
case 58:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 59)
.AddOption("Detoxication", 60)
.AddOption("Block", 61)
.AddOption("Penetration (Final~M-Attack)", 62)
.AddAvatar(255).FinalizeDialog();
break;
}
case 59:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(144309, 820073, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 60:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(144309, 820073, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 61:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(144309, 820073, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 62:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(144309, 820073, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 63:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 64)
.AddOption("Detoxication", 65)
.AddOption("Block", 66)
.AddOption("Penetration (Final~M-Attack)", 67)
.AddAvatar(255).FinalizeDialog();
break;
}
case 64:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(144309, 820074, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 65:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(144309, 820074, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 66:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(144309, 820074, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 67:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(144309, 820074, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region DragonWarrior-Headgear
case 68:
{
dialog.AddText("Selct~What's~Whats~Soul~you~want")
.AddOption("Immunity", 69)
.AddOption("Anti-Break", 74)
.AddAvatar(255).FinalizeDialog();
break;
}
case 69:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 70)
.AddOption("Detoxication", 71)
.AddOption("Block", 72)
.AddOption("Penetration (Final~M-Attack)", 73)
.AddAvatar(255).FinalizeDialog();
break;
}
case 70:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(148309, 820073, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 71:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(148309, 820073, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 72:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(148309, 820073, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 73:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(148309, 820073, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 74:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 75)
.AddOption("Detoxication", 76)
.AddOption("Block", 77)
.AddOption("Penetration (Final~M-Attack)", 78)
.AddAvatar(255).FinalizeDialog();
break;
}
case 75:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(148309, 820074, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 76:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(148309, 820074, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 77:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(148309, 820074, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 78:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(148309, 820074, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Taoist-Headgear
case 79:
{
dialog.AddText("Selct~What's~Whats~Soul~you~want")
.AddOption("Immunity", 80)
.AddOption("Anti-Break", 85)
.AddAvatar(255).FinalizeDialog();
break;
}
case 80:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 81)
.AddOption("Detoxication", 82)
.AddOption("Block", 83)
.AddOption("Penetration (Final~M-Attack)", 84)
.AddAvatar(255).FinalizeDialog();
break;
}
case 81:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(114309, 820075, 12, 3004140, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 82:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(114309, 820075, 12, 3004143, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 83:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(114309, 820075, 12, 3004144, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 84:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(114309, 820075, 12, 3004145, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 85:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 86)
.AddOption("Detoxication", 87)
.AddOption("Block", 88)
.AddOption("Penetration (Final~M-Attack)", 89)
.AddAvatar(255).FinalizeDialog();
break;
}
case 86:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(114309, 820076, 12, 3004140, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 87:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(114309, 820076, 12, 3004143, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 88:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(114309, 820076, 12, 3004144, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 89:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(114309, 820076, 12, 3004145, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region WindWalker-Headgear
case 90:
{
dialog.AddText("Selct~What's~Whats~Soul~you~want")
.AddOption("Immunity", 91)
.AddOption("Anti-Break", 96)
.AddAvatar(255).FinalizeDialog();
break;
}
case 91:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 92)
.AddOption("Detoxication", 93)
.AddOption("Block", 94)
.AddOption("Penetration (Final~M-Attack)", 95)
.AddAvatar(255).FinalizeDialog();
break;
}
case 92:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(170309, 820073, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 93:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(170309, 820073, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 94:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(170309, 820073, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 95:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(170309, 820073, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 96:
{
dialog.AddText("Selct~What's~What~Refinery~you~want")
.AddOption("Intensification(Max-HP)", 97)
.AddOption("Detoxication", 98)
.AddOption("Block", 99)
.AddOption("Penetration (Final~M-Attack)", 100)
.AddAvatar(255).FinalizeDialog();
break;
}
case 97:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(170309, 820074, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 98:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(170309, 820074, 12, 3004143, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 99:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(170309, 820074, 12, 3004144, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 100:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(170309, 820074, 12, 3004145, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#endregion
#region Armors
case 101:
{
dialog.AddText("Selct~What's~Character~you~want")
.AddOption("Trojan", 102)
.AddOption("Warrior", 106)
.AddOption("Archer", 110)
.AddOption("Ninja", 114)
.AddOption("Monk", 118)// start form here
.AddOption("Pirate", 122)
.AddOption("DragonWarrior", 126)
.AddOption("Taoist", 130)
.AddOption("WindWalker", 134)
.AddAvatar(255).FinalizeDialog();
break;
}
#region Trojan-Armor
case 102:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 103)
.AddOption("Counteraction(Anti-Break)", 104)
.AddOption("Detoxication", 105)
.AddAvatar(255).FinalizeDialog();
break;
}
case 103:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(130309, 822071, 12, 3004139, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 104:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(130309, 822071, 12, 3004142, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 105:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(130309, 822071, 12, 3004161, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Warrior-Armor
case 106:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 107)
.AddOption("Counteraction(Anti-Break)", 108)
.AddOption("Detoxication", 109)
.AddAvatar(255).FinalizeDialog();
break;
}
case 107:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(131309, 822071, 12, 3004139, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 108:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(131309, 822071, 12, 3004142, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 109:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(131309, 822071, 12, 3004161, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Archer-Armor
case 110:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 111)
.AddOption("Counteraction(Anti-Break)", 112)
.AddOption("Detoxication", 113)
.AddAvatar(255).FinalizeDialog();
break;
}
case 111:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(133309, 822071, 12, 3004139, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 112:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(133309, 822071, 12, 3004142, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 113:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(133309, 822071, 12, 3004161, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Ninja-Armor
case 114:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 115)
.AddOption("Counteraction(Anti-Break)", 116)
.AddOption("Detoxication", 117)
.AddAvatar(255).FinalizeDialog();
break;
}
case 115:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(135309, 822071, 12, 3004139, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 116:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(135309, 822071, 12, 3004142, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 117:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(135309, 822071, 12, 3004161, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Monk-Armor
case 118:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 119)
.AddOption("Counteraction(Anti-Break)", 120)
.AddOption("Detoxication", 121)
.AddAvatar(255).FinalizeDialog();
break;
}
case 119:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(136309, 822071, 12, 3004139, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 120:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(136309, 822071, 12, 3004142, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 121:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(136309, 822071, 12, 3004161, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Pirate-Armor
case 122:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 123)
.AddOption("Counteraction(Anti-Break)", 124)
.AddOption("Detoxication", 125)
.AddAvatar(255).FinalizeDialog();
break;
}
case 123:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(139309, 822071, 12, 3004139, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 124:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(139309, 822071, 12, 3004142, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 125:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(139309, 822071, 12, 3004161, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region DragonWarrior-Armor
case 126:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 127)
.AddOption("Counteraction(Anti-Break)", 128)
.AddOption("Detoxication", 129)
.AddAvatar(255).FinalizeDialog();
break;
}
case 127:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(138309, 822071, 12, 3004139, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 128:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(138309, 822071, 12, 3004142, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 129:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(138309, 822071, 12, 3004161, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Taoist-Armor
case 130:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 131)
.AddOption("Counteraction(Anti-Break)", 132)
.AddOption("Detoxication", 133)
.AddAvatar(255).FinalizeDialog();
break;
}
case 131:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(134309, 822072, 12, 3004139, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 132:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(134309, 822072, 12, 3004142, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 133:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(134309, 822072, 12, 3004161, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region WindWalker-Armor
case 134:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 135)
.AddOption("Counteraction(Anti-Break)", 136)
.AddOption("Detoxication", 137)
.AddAvatar(255).FinalizeDialog();
break;
}
case 135:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(101309, 822071, 12, 3004139, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 136:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(101309, 822071, 12, 3004142, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 137:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(101309, 822071, 12, 3004161, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#endregion
#region Necklace-Bag
case 138:
{
dialog.AddText("Selct~What's~you~want")
.AddOption("Necklace", 139)
.AddOption("Bag", 143)
.AddAvatar(255).FinalizeDialog();
break;
}
#region Necklace
case 139:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("M-Defense", 140)
.AddOption("Counteraction(Anti-Break)", 141)
.AddOption("Detoxication", 142)
.AddAvatar(255).FinalizeDialog();
break;
}
case 140:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(120269, 821033, 12, 3004136, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 141:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(120269, 821033, 12, 3004160, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 142:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(120269, 821033, 12, 3004165, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Bag
case 143:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("M-Defense", 144)
.AddOption("Counteraction(Anti-Break)", 145)
.AddOption("Penetration(Final~M-Attack)", 146)
.AddOption("Detoxication", 147)
.AddAvatar(255).FinalizeDialog();
break;
}
case 144:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(121269, 821034, 12, 3004146, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 145:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(121269, 821034, 12, 3004151, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 146:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(121269, 821034, 12, 3004154, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 147:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(121269, 821034, 12, 3004166, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#endregion
#region Weapons
case 148:
{
dialog.AddText("Selct~What's~Character~you~want")
.AddOption("Trojan", 149)
.AddOption("Warrior", 156)
.AddOption("Archer", 163)
.AddOption("Ninja", 170)
.AddOption("Monk", 180)
.AddOption("Pirate", 187)
.AddOption("DragonWarrior", 194)
.AddOption("Taoist", 197)
.AddOption("WindWalker", 201)
.AddAvatar(255).FinalizeDialog();
break;
}
#region Trojan-Weapons
case 149:
{
dialog.AddText("Selct~What's~Whats~Soul~you~want")
.AddOption("P-Strike FangCross(MonsterSaber)", 150)
.AddOption("Break FangCross(SkyHammer)", 153)
.AddAvatar(255).FinalizeDialog();
break;
}
case 150:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 151)
.AddOption("Brake", 152)
.AddAvatar(255).FinalizeDialog();
break;
}
case 151:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(614439, 800020, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(614439, 800020, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 152:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(614439, 800020, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(614439, 800020, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 153:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 154)
.AddOption("Brake", 155)
.AddAvatar(255).FinalizeDialog();
break;
}
case 154:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(614439, 800111, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(614439, 800111, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 155:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(614439, 800111, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(614439, 800111, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
#endregion
#region Warrior-Weapons
case 156:
{
dialog.AddText("Selct~What's~Whats~Soul~you~want")
.AddOption("P-Strike EvilSlayer(FistofDeity)", 157)
.AddOption("Break EvilSlayer(FistofDemon)", 160)
.AddAvatar(255).FinalizeDialog();
break;
}
case 157:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 158)
.AddOption("Brake", 159)
.AddAvatar(255).FinalizeDialog();
break;
}
case 158:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(624439, 801216, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(624439, 801216, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 159:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(624439, 801216, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(624439, 801216, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 160:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 161)
.AddOption("Brake", 162)
.AddAvatar(255).FinalizeDialog();
break;
}
case 161:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(624439, 801218, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(624439, 801218, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 162:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(624439, 801218, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(624439, 801218, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
#endregion
#region Archer-Weapons
case 163:
{
dialog.AddText("Selct~What's~Soul~What~you~want")
.AddOption("HeavenlyBow(Sun~Bow)", 164)
.AddOption("FantasyKnife(Ghost~Knife)", 167)
.AddAvatar(255).FinalizeDialog();
break;
}
case 164:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 165)
.AddOption("Brake", 166)
.AddAvatar(255).FinalizeDialog();
break;
}
case 165:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(500429, 800618, 12, 3004147, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 166:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(500429, 800618, 12, 3004150, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 167:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 168)
.AddOption("Brake", 169)
.AddAvatar(255).FinalizeDialog();
break;
}
case 168:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(613429, 800917, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(613429, 800917, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 169:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(613429, 800917, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(613429, 800917, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
#endregion
#region Ninja-Weapons
case 170:
{
dialog.AddText("Selct~What's~Soul~What~you~want")
.AddOption("P-Strike Nobunaga`sSwiftClaw(MonsterSaber)", 171)
.AddOption("Break Nobunaga`sSwiftClaw(SkyHammer)", 174)
.AddOption("Nobunaga`sSwiftClaw(ShadowKatana)", 177)
.AddAvatar(255).FinalizeDialog();
break;
}
case 171:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 172)
.AddOption("Brake", 173)
.AddAvatar(255).FinalizeDialog();
break;
}
case 172:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(616439, 800020, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(616439, 800020, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 173:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(616439, 800020, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(616439, 800020, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 174:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 175)
.AddOption("Brake", 176)
.AddAvatar(255).FinalizeDialog();
break;
}
case 175:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(616439, 800111, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(616439, 800111, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 176:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(616439, 800111, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(616439, 800111, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 177:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 178)
.AddOption("Brake", 179)
.AddAvatar(255).FinalizeDialog();
break;
}
case 178:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(616439, 800142, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(616439, 800142, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 179:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(616439, 800142, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(616439, 800142, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
#endregion
#region Monk-Weapons
case 180:
{
dialog.AddText("Selct~What's~Soul~What~you~want")
.AddOption("LazuritePrayerBeads(BuddaBeads)", 181)
.AddOption("AlmightyEmperor`sPillar(BuddaBeads)", 184)
.AddAvatar(255).FinalizeDialog();
break;
}
case 181:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 182)
.AddOption("Brake", 183)
.AddAvatar(255).FinalizeDialog();
break;
}
case 182:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(610439, 800725, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(610439, 800725, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 183:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(610439, 800725, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(610439, 800725, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 184:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 185)
.AddOption("Brake", 186)
.AddAvatar(255).FinalizeDialog();
break;
}
case 185:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(622439, 800725, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(622439, 800725, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 186:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(622439, 800725, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(622439, 800725, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
#endregion
#region Pirate-Weapons
case 187:
{
dialog.AddText("Selct~What's~Soul~you~want")
.AddOption("CaptainRapier(RepentRapier)", 188)
.AddOption("LordPistol(DeathPistol)", 191)
.AddAvatar(255).FinalizeDialog();
break;
}
case 188:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 189)
.AddOption("Brake", 190)
.AddAvatar(255).FinalizeDialog();
break;
}
case 189:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(611439, 800811, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 190:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(611439, 800811, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 191:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 192)
.AddOption("Brake", 193)
.AddAvatar(255).FinalizeDialog();
break;
}
case 192:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(612439, 800810, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 193:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(612439, 800810, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region DragonWarrior-Weapons
case 194:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 195)
.AddOption("Brake", 196)
.AddAvatar(255).FinalizeDialog();
break;
}
case 195:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(617439, 801004, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(617439, 801004, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 196:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(617439, 801004, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(617439, 801004, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
#endregion
#region Taoist-Weapons
case 197:
{
dialog.AddText("Selct~What's~What~you~want")
.AddOption("SupremeSword(TimeBacksword)", 198)
.AddOption("ImperialBacksword(TimeBacksword)", 199)
.AddOption("UniverseHossu(WonderHossu)", 200)
.AddAvatar(255).FinalizeDialog();
break;
}
case 198:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(421439, 800522, 12, 3004138, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 199:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(620439, 800522, 12, 3004138, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 200:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(619439, 801104, 12, 3006170, 7, 27, 12, 0, 0, 255, 0, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region WindWalker-Weapons
case 201:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("P-Strike", 202)
.AddOption("Brake", 203)
.AddAvatar(255).FinalizeDialog();
break;
}
case 202:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(626439, 801308, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(626439, 801308, 12, 3004137, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
case 203:
{
if (client.Inventory.HaveSpace(2))
{
client.Inventory.AddFullItemSoul(626439, 801308, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
client.Inventory.AddFullItemSoul(626439, 801308, 12, 3004141, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
}
else
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory", null, null);
break;
}
#endregion
#endregion
#region Ring-HeavyRing-Bracelet
case 204:
{
dialog.AddText("Selct~What's~you~want")
.AddOption("Ring", 205)
.AddOption("HeavyRing", 214)
.AddOption("Bracelet", 223)
.AddAvatar(255).FinalizeDialog();
break;
}
#region Ring
case 205:
{
dialog.AddText("Selct~What's~Soul~you~want")
.AddOption("P-Strike Ring", 206)
.AddOption("Break Ring", 210)
.AddAvatar(255).FinalizeDialog();
break;
}
case 206:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("M-Defense", 207)
.AddOption("P-strike", 208)
.AddOption("Brake", 209)
.AddAvatar(255).FinalizeDialog();
break;
}
case 207:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(150269, 823058, 12, 3004155, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 208:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(150269, 823058, 12, 3004158, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 209:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(150269, 823058, 12, 3004163, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 210:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("M-Defense", 211)
.AddOption("P-strike", 212)
.AddOption("Brake", 213)
.AddAvatar(255).FinalizeDialog();
break;
}
case 211:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(150269, 823059, 12, 3004155, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 212:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(150269, 823059, 12, 3004158, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 213:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(150269, 823059, 12, 3004163, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region HeavyRing
case 214:
{
dialog.AddText("Selct~What's~Soul~you~want")
.AddOption("P-Strike HeavyRing", 215)
.AddOption("Break HeavyRing", 219)
.AddAvatar(255).FinalizeDialog();
break;
}
case 215:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("M-Defense", 216)
.AddOption("P-strike", 217)
.AddOption("Brake", 218)
.AddAvatar(255).FinalizeDialog();
break;
}
case 216:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(151269, 823061, 12, 3004155, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 217:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(151269, 823061, 12, 3004158, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 218:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(151269, 823061, 12, 3004163, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 219:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("M-Defense", 220)
.AddOption("P-strike", 221)
.AddOption("Brake", 222)
.AddAvatar(255).FinalizeDialog();
break;
}
case 220:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(151269, 823062, 12, 3004155, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 221:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(151269, 823062, 12, 3004158, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 222:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(151269, 823062, 12, 3004163, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Bracelet
case 223:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("SkillC.Strike(M-Strike)", 224)
.AddOption("M-Defense", 225)
.AddOption("Penetration(Final~M-Attack)", 226)
.AddOption("Brake", 227)
.AddAvatar(255).FinalizeDialog();
break;
}
case 224:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(152279, 823060, 12, 3004148, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 225:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(152279, 823060, 12, 3004157, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 226:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(152279, 823060, 12, 3004162, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 227:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(152279, 823060, 12, 3004164, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#endregion
#region Boots
case 228:
{
dialog.AddText("Selct~What's~you~want")
.AddOption("P-Strike Boots", 229)
.AddOption("Break Boots", 232)
.AddOption("M-Attack Boots", 235)
.AddAvatar(255).FinalizeDialog();
break;
}
case 229:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 230)
.AddOption("Detoxication", 231)
.AddAvatar(255).FinalizeDialog();
break;
}
case 230:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(160249, 824018, 12, 3004149, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 231:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(160249, 824018, 12, 3004152, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 232:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 233)
.AddOption("Detoxication", 234)
.AddAvatar(255).FinalizeDialog();
break;
}
case 233:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(160249, 824019, 12, 3004149, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 234:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(160249, 824019, 12, 3004152, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 235:
{
dialog.AddText("Selct~What's~Refinery~you~want")
.AddOption("Immunity", 236)
.AddOption("Detoxication", 237)
.AddAvatar(255).FinalizeDialog();
break;
}
case 236:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(160249, 824020, 12, 3004149, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 237:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddFullItemSoul(160249, 824020, 12, 3004152, 7, 27, 12, 3, 3, 255, 7, 1, stream, true, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
#region Talisman
case 238:
{
dialog.AddText("Selct~What's~you~want")
.AddOption("StarTower", 239)
.AddOption("HeavenFan", 240)
.AddOption("RidingCrop", 241)
.AddOption("TempestWings", 245)
.AddAvatar(255).FinalizeDialog();
break;
}
case 239:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddTalisman(202009, 27, 12, 123, 123, 0, 1, 1, stream, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 240:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddTalisman(201009, 27, 12, 103, 103, 0, 1, 1, stream, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 241:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddTalisman(203009, 27, 12, 0, 0, 0, 1, 1, stream, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
case 245:
{
if (client.Inventory.HaveSpace(1))
client.Inventory.AddTalisman(204009, 27, 12, 103, 123, 0, 0, 1, stream, true, 7, 0, 0);
else
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory", null, null);
break;
}
#endregion
}
}
SantaStuff = 792,
public unsafe string Name = "";
public unsafe string ServerSignature = "Dark|Light";
792,FullItems,2,17620,1002,309,244,0,0,1,1
AddFullItemSoul(118309, 820073, 12, 3004140, 7, 27, 12, 13, 13, 255, 7, 1, stream, true, true, 7, 0, 0);
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
شرح تعدي الانبي سهات فى سورس أليكس سوريات | ابو حمزه9 | تطوير سيرفرات كونكر | 20 | 2024-09-19 02:09 AM |
مشكلة في صفحة تسجيل سورس أليكس | Biggiee | مشكلات السيرفيرات كونكر الشخصيه | 8 | 2019-06-17 10:22 PM |