منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   npc بيع ادوات الترقيه (https://code.vpscairo.com/showthread.php?t=70)

محمد ياسر 2019-04-20 11:14 AM

npc بيع ادوات الترقيه
 


npc لبيع ادوات الترقيه

الي بيشتريه وبيروح عند المستر تبعه ويدهالوا ويرقيه

كود PHP:

#region Sub-Classes & Promotion Seller 
case 5688

switch (
npcRequest.OptionID

case 
0

dialog.Text("Hello! I sell Sub-Classes & Promotion items!"); 
dialog.Text("/nWhich Item would you like to buy?"); 
dialog.Option("MoonBox [10.000 CPs]"1); 
dialog.Option("EuxeniteOre [10.000 CPs]"2); 
dialog.Option("Emerald [10.000 CPs]"3); 
dialog.Option("10 MeteorTear [10.000 CPs]"4); 
dialog.Option("10 Bombs [10.000 CPs]"5); 
dialog.Option("Rate5GoldOre [10.000 CPs]"12); 
dialog.Option("Next Page."11); 
dialog.Send(); 
break; 

case 
11

dialog.Text("Hello! I sell Sub-Classes & Promotion items!"); 
dialog.Text("/nWhich Item would you like to buy?"); 
dialog.Option("1 YinYang Fruit [10.000 CPs]"6); 
dialog.Option("5 Celestial Stones [10.000 CPs]"7); 
dialog.Option("20 Lucky Amulets [10.000 CPs]"8); 
dialog.Option("5x 3 Orchids [10.000 CPs]"9); 
dialog.Option("40 Saddles [10.000 CPs]"10); 
dialog.Option("ModestyBook[10.000 CPs]."13); 
dialog.Send(); 
break; 

case 
13

if (
client.Entity.ConquerPoints >= 1050

client.Entity.ConquerPoints -= 1050
client.inventory.Add(72334201); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
12

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(107205401); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
1

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(72109001); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
2

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(107203101); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
3

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(108000101); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
4

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(1088002010); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
5

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(721261010); 

else 

dialog.Text(" AHHH You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
6

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(71118801); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
7

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(72125905); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
8

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(723087020); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
9

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(75300305); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 

case 
10

if (
client.Entity.ConquerPoints >= 10000

client.Entity.ConquerPoints -= 10000
client.inventory.Add(723903040); 

else 

dialog.Text("You don't have enough cps!"); 
dialog.Option("DAHH!"255); 
dialog.Send(); 

break; 


break; 

#endregion 



الساعة الآن 06:20 AM

مرحبا بكم في منتدي اكواد لتطوير الالعاب