|
المشاركات 894 |
+التقييم 0.44 |
تاريخ التسجيل Apr 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 115 |
#region New Socket GoldPrize
case 12834:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there" + client.Entity.Name + " i can help you to upgrade Socket and Damage and Bless your GoldPrize For Some Cps Only [GM]");
dialog.Text("Please Select what you Like To Do But remember it will coast More Cps if you Accept Please Select Gold Prize ");
dialog.Option("Make 255 HP! [10.000.000] Cps.", 9);
dialog.Option("Make Damge [-1] GoldPriz.", 150);
dialog.Option("Make [+12] GoldPrize.", 99);
dialog.Option("Not Now!.", 255);
dialog.Send();
break;
}
#region Plus +12
case 99:
{
dialog.Text("Hey there i can help you to upgrade your Goldprize to +1 from +12. chose what you need and enjoy");
dialog.Option("Make +1 [2.000.000] CPS", 100);
dialog.Option("Make +2 [4.000.000] CPS", 101);
dialog.Option("Make +3 [6.000.000] CPS", 102);
dialog.Option("Make +4 [8.000.000] CPS", 103);
dialog.Option("Make +5 [10.000.000] CPS", 104);
dialog.Option("Make +6 [12.000.000] CPS", 105);
dialog.Option("Make +7 [70.000.000] CPS", 106);
dialog.Option("Make +8 [80.000.000] CPS", 107);
dialog.Option("Make +9 [90.000.000] CPS", 108);
dialog.Option("Make +10 [100.000.000] CPS", 109);
dialog.Option("Make +11 [110.000.000] CPS", 110);
dialog.Option("Make +12 [120.000.000] CPS", 111);
dialog.Option("Just Passing By!.", 255);
dialog.Send();
break;
}
#region +1
case 100:
{
if (client.Entity.ConquerPoints >= 2000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 0)
{
client.Entity.ConquerPoints -= 2000000;
i.Plus = 1;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+1] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +1");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 2.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +2
case 101:
{
if (client.Entity.ConquerPoints >= 4000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 1)
{
client.Entity.ConquerPoints -= 4000000;
i.Plus = 2;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+2] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +2");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 4.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +3
case 102:
{
if (client.Entity.ConquerPoints >= 6000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 2)
{
client.Entity.ConquerPoints -= 6000000;
i.Plus = 3;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+3] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +3");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 6.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +4
case 103:
{
if (client.Entity.ConquerPoints >= 8000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 3)
{
client.Entity.ConquerPoints -= 8000000;
i.Plus = 4;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+4] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +4");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 8.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +5
case 104:
{
if (client.Entity.ConquerPoints >= 10000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 4)
{
client.Entity.ConquerPoints -= 10000000;
i.Plus = 5;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+5] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +5");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 10.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +6
case 105:
{
if (client.Entity.ConquerPoints >= 12000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 5)
{
client.Entity.ConquerPoints -= 12000000;
i.Plus = 6;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+6] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +6");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 12.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +7
case 106:
{
if (client.Entity.ConquerPoints >= 70000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 6)
{
client.Entity.ConquerPoints -= 70000000;
i.Plus = 7;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+7] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +7");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 70.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +8
case 107:
{
if (client.Entity.ConquerPoints >= 80000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 7)
{
client.Entity.ConquerPoints -= 80000000;
i.Plus = 8;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+8] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +8");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 80.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +9
case 108:
{
if (client.Entity.ConquerPoints >= 90000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 8)
{
client.Entity.ConquerPoints -= 90000000;
i.Plus = 9;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+9] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +9");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 90.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +10
case 109:
{
if (client.Entity.ConquerPoints >= 100000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 9)
{
client.Entity.ConquerPoints -= 100000000;
i.Plus = 10;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+10] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +10");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 100.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +11
case 110:
{
if (client.Entity.ConquerPoints >= 110000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 10)
{
client.Entity.ConquerPoints -= 110000000;
i.Plus = 11;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+11] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +11");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 110.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region +12
case 111:
{
if (client.Entity.ConquerPoints >= 120000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Plus == 11)
{
client.Entity.ConquerPoints -= 120000000;
i.Plus = 12;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [+12] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already +12");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 120.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#endregion
case 1:
{
dialog.Text("Ok,Let us begin Ugrade one Socket :D");
dialog.Option("Ok,", 2);
break;
}
case 5:
{
dialog.Text("Ok,Let us begin Ugrade one Socket :D");
dialog.Option("Ok,", 8);
break;
}
#region make-1
case 150:
{
if (client.Entity.ConquerPoints >= 5000000)
{
ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (i != null)
{
if (i.Bless != 3 && client.Equipment.TryGetItem(ConquerItem.Bottle).Bless == 0)
{
client.Entity.ConquerPoints -= 5000000;
i.Bless = 1;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
ConquerItemTable.UpdatePlus(i);
ConquerItemTable.UpdateSockets(i);
i.Send(client);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "your Item is now [Damage -1] Check for your self and enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your Item already -1");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Item First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 5.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
#region Make HP
case 9:
{
if (client.Entity.ConquerPoints >= 10000000)
{
ConquerItem item = client.Equipment.TryGetItem(ConquerItem.Bottle);
if (item != null)
{
if (item.Plus != 5)
{
client.Entity.ConquerPoints -= 10000000;
item.Enchant = 255;
item.Send(client);
ConquerItemTable.UpdateEnchant(item);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Now Gold prize get [255 HP] enjoy in Server DeathNote");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
else
{
dialog.Text("your GoldPrize & Cup already 255 Hp");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your GoldPrize & Cup First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with 10.000.000 Cps.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
#endregion
}
break;
}
#endregion