منتدي اكواد

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

محمد ياسر 2019-05-31 09:37 PM

Npc بيدي لفل بلتسلسل
 

السلام عليكم ورحمة الله وبركاته
انبي سي بيدي لفل بالتسلسل
ياعني انت لول لفل 15 اتزيد لفل واحد لما تكلمه
هو حاليا ايدي الفل لناس الي للفل 130 وفوق لان الفل هنا بيكون صعب وده حركه حلوه للسورسات الصعبه
حط دول في ال NPCS.CS
كود PHP:

                    #region Level 1-140
case 19994
 { 
 switch (
npcRequest.OptionID
 { 
 case 
0
 {
     
dialog.Text("Hi " client.Player.Name " I Sell Level 130 For 1,000 and onther 131-140 each for 2,500 ConquerPoints."); 
dialog.Option("Yes,I Need Level ."1); 
dialog.Option("Yes,I Need Level 131-140."2); 
dialog.Option("NO Thx."255); 
dialog.Avatar(116); 
dialog.Send(); 
 break; 
 } 
 case 
1
 { 
 if (
client.Player.ConquerPoints >= 1000 && (client.Player.Level <= 130)) 
 { 
client.Player.ConquerPoints -= 1000;
client.Player.Level += 1;
client.Player.Atributes += 3
 } 
 else 
 {
     
dialog.Text("Please get 1,000 ConquerPoints to Get Level 130."); 
dialog.Option("I see."255); 
dialog.Avatar(116); 
dialog.Send(); 
 } 
 break; 
 } 
 case 
2
 { 
 if (
client.Player.ConquerPoints >= 2500 && (client.Player.Level >= 130) && (client.Player.Level <= 139)) 
 {
     
client.Player.ConquerPoints -= 2500;
     
client.Player.Level += 1;
     
client.Player.Atributes += 3
 } 
 else 
 {
     
dialog.Text("Please get 2500 ConquerPoints to Get Level 131-140."); 
dialog.Option("I see."255); 
dialog.Avatar(116); 
dialog.Send(); 
 } 
 break; 
 } 
 } 
 break; 
 } 
#endregion 


mohamed2010 2022-01-19 06:48 PM

رد: Npc بيدي لفل بلتسلسل
 
الله ينور


الساعة الآن 11:58 PM

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