منتدي اكواد

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

Hassan Emprator 2019-07-20 11:29 PM

انبي سي innerPower
 
دا انبي سي الطاقه الي اسمه اننير باور طبعا كلنا عارفينه دا انبي سي بيدي نقاط + الايتمز كامله

الانبي سي اهو

كود PHP:

#region InnerPower[H]
                
case 999055:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
//client.Entity.Update(_String.Effect, "gamemain", true);
                                    
dialog.Text("Hello. iam GM Game Inferno You need InnerPower [H] Server #10.");
                                    
//dialog.Option("Item's", 51);
                                    
dialog.Option("Point's"52);
                                    
dialog.Option("I*don't*care."255);
                                    
dialog.Send();
                                    break;
                                }

                            case 
51://ninja**   
                                
{
                                    
client.Inventory.Add(300536501);
                                    
client.Inventory.Add(300536601);
                                    
client.Inventory.Add(300539501);
                                    
client.Inventory.Add(300539601);
                                    
client.Inventory.Add(300539701);
                                    
client.Inventory.Add(300539801);
                                    
client.Inventory.Add(300539901);
                                    
client.Inventory.Add(300540001);
                                    
client.Inventory.Add(300540101);
                                    
client.Inventory.Add(300711301);
                                    
client.Inventory.Add(300711401);
                                    
client.Inventory.Add(300711501);
                                    
client.Inventory.Add(300711601);
                                    
client.Inventory.Add(300711701);
                                    
client.Inventory.Add(300723001);
                                    
client.Inventory.Add(300723101);
                                    
client.Inventory.Add(300723201);
                                    break;
                                }
                            case 
52://LeeLong*   
                                
{
                                    if (
client.Entity.ConquerPoints 2500)
                                        
client.Entity.ConquerPoints -= 2500;
                                    
client.Entity.InnerPower.Potency += 10000;
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

ملحوظه لو حبيت تعدل عا نقاط الي تجيلك من الانبي سي تعدلها من هنا

كود PHP:

client.Entity.InnerPower.Potency += 10000


MohamedModyAdel 2019-07-20 11:35 PM

رد: انبي سي innerPower
 
حلوو

محمد ياسر 2019-07-21 06:19 AM

رد: انبي سي innerPower
 
الله ينور

Rider 2019-07-21 08:07 AM

رد: انبي سي innerPower
 
عاش
و ده واحد تاني محدد كل بوابه ب ايتماتها و اسعارها
و بيبيع نقط
هتمسح CPanal.itemsInnerPower
و تحط مكانها الكبس الي عايز يبيعه بيه
كود PHP:

#region System InnerPower +items-Check
                
case 1547:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                            
dialog.Text("Hey [" client.Entity.Name "] I can sell Items InnerPower. all you have to choose and Check your Points.");
                            
dialog.Text("Your~InnerPower~Count~is: ");
                            
dialog.Text("<tip color=d7ff41 desc=Inner#Power>[" client.Entity.InnerPower.Potency "]</tip>: \n");
                            
dialog.Option("UniversalConcept(A)&(B) For " CPanal.itemsInnerPower " CPS"1);
                            
dialog.Option("SecretofBreath(A)&(B) For " CPanal.itemsInnerPower " CPS"2);
                            
dialog.Option("DragonTactics(A)&(B) For " CPanal.itemsInnerPower " CPS"3);
                            
dialog.Option("DoctrineofDeity(A)(B)(C) For " CPanal.itemsInnerPower " CPS"4);
                            
dialog.Option("DemonRider(A)(B) For " CPanal.itemsInnerPower " CPS"5);
                            
dialog.Option("BoundlessHeart(A)(B)(C) For " CPanal.itemsInnerPower " CPS"6);
                            
dialog.Option("PuzzleofLife(A)(B)(C) For " CPanal.itemsInnerPower " CPS"7);
                            
dialog.Option("Points Inner For " CPanal.itemsInnerPower " CPS"8);
                            
dialog.Option("Let~me~think."255); 
                            break;
                                }
                            
#region UniversalConcept(A)&(B)
                            
case 1:
                                {
                                    if (
client.Entity.ConquerPoints >= CPanal.itemsInnerPower)
                                    {
                                        
client.Entity.ConquerPoints -= CPanal.itemsInnerPower;
                                        
client.Inventory.AddBoundItem(300536501);
                                        
client.Inventory.AddBoundItem(300536601);
                                        
_String str = new _String(true);
                                        
str.UID client.Entity.UID;
                                        
str.Type _String.Effect;
                                        
str.Texts.Add("eidolon");
                                        
str.TextsCount 1;
                                        
client.Entity.SendScreen(str);
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"Congratz you got a UniversalConcept(A)(B) in your inventory.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    else
                                    {
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"You don't have Enough [" CPanal.itemsInnerPower "] Cps.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    break;
                                }
                            
#endregion
                            #region SecretofBreath(A)&(B)
                            
case 2:
                                {
                                    if (
client.Entity.ConquerPoints >= CPanal.itemsInnerPower)
                                    {
                                        
client.Entity.ConquerPoints -= CPanal.itemsInnerPower;
                                        
client.Inventory.AddBoundItem(300539501);
                                        
client.Inventory.AddBoundItem(300539601);
                                        
_String str = new _String(true);
                                        
str.UID client.Entity.UID;
                                        
str.Type _String.Effect;
                                        
str.Texts.Add("eidolon");
                                        
str.TextsCount 1;
                                        
client.Entity.SendScreen(str);
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"Congratz you got a SecretofBreath(A)(B) in your inventory.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    else
                                    {
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"You don't have Enough [" CPanal.itemsInnerPower "] Cps.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    break;
                                }
                            
#endregion
                            #region DragonTactics(A)&(B)
                            
case 3:
                                {
                                    if (
client.Entity.ConquerPoints >= CPanal.itemsInnerPower)
                                    {
                                        
client.Entity.ConquerPoints -= CPanal.itemsInnerPower;
                                        
client.Inventory.AddBoundItem(300539701);
                                        
client.Inventory.AddBoundItem(300539801);
                                        
_String str = new _String(true);
                                        
str.UID client.Entity.UID;
                                        
str.Type _String.Effect;
                                        
str.Texts.Add("eidolon");
                                        
str.TextsCount 1;
                                        
client.Entity.SendScreen(str);
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"Congratz you got a DragonTactics(A)(B) in your inventory.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    else
                                    {
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"You don't have Enough [" CPanal.itemsInnerPower "] Cps.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    break;
                                }
                            
#endregion
                            #region DoctrineofDeity(A)(B)(C)
                            
case 4:
                                {
                                    if (
client.Entity.ConquerPoints >= CPanal.itemsInnerPower)
                                    {
                                        
client.Entity.ConquerPoints -= CPanal.itemsInnerPower;
                                        
client.Inventory.AddBoundItem(300539901);
                                        
client.Inventory.AddBoundItem(300540001);
                                        
client.Inventory.AddBoundItem(300540101);
                                        
_String str = new _String(true);
                                        
str.UID client.Entity.UID;
                                        
str.Type _String.Effect;
                                        
str.Texts.Add("eidolon");
                                        
str.TextsCount 1;
                                        
client.Entity.SendScreen(str);
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"Congratz you got a DoctrineofDeity(A)(B)(C) in your inventory.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    else
                                    {
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"You don't have Enough [" CPanal.itemsInnerPower "] Cps.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    break;
                                }
                            
#endregion
                            #region DemonRider(A)(B)
                            
case 5:
                                {
                                    if (
client.Entity.ConquerPoints >= CPanal.itemsInnerPower)
                                    {
                                        
client.Entity.ConquerPoints -= CPanal.itemsInnerPower;
                                        
client.Inventory.AddBoundItem(300711301);
                                        
client.Inventory.AddBoundItem(300711401);
                                        
_String str = new _String(true);
                                        
str.UID client.Entity.UID;
                                        
str.Type _String.Effect;
                                        
str.Texts.Add("eidolon");
                                        
str.TextsCount 1;
                                        
client.Entity.SendScreen(str);
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"Congratz you got a DemonRider(A)(B) in your inventory.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    else
                                    {
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"You don't have Enough [" CPanal.itemsInnerPower "] Cps.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    break;
                                }
                            
#endregion
                            #region BoundlessHeart(A)(B)(C)
                            
case 6:
                                {
                                    if (
client.Entity.ConquerPoints >= CPanal.itemsInnerPower)
                                    {
                                        
client.Entity.ConquerPoints -= CPanal.itemsInnerPower;
                                        
client.Inventory.AddBoundItem(300711501);
                                        
client.Inventory.AddBoundItem(300711601);
                                        
client.Inventory.AddBoundItem(300711701);
                                        
_String str = new _String(true);
                                        
str.UID client.Entity.UID;
                                        
str.Type _String.Effect;
                                        
str.Texts.Add("eidolon");
                                        
str.TextsCount 1;
                                        
client.Entity.SendScreen(str);
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"Congratz you got a BoundlessHeart(A)(B)(C) in your inventory.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    else
                                    {
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"You don't have Enough [" CPanal.itemsInnerPower "] Cps.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    break;
                                }
                            
#endregion
                            #region PuzzleofLife(A)(B)(C)
                            
case 7:
                                {
                                    if (
client.Entity.ConquerPoints >= CPanal.itemsInnerPower)
                                    {
                                        
client.Entity.ConquerPoints -= CPanal.itemsInnerPower;
                                        
client.Inventory.AddBoundItem(300723001);
                                        
client.Inventory.AddBoundItem(300723101);
                                        
client.Inventory.AddBoundItem(300723201);
                                        
_String str = new _String(true);
                                        
str.UID client.Entity.UID;
                                        
str.Type _String.Effect;
                                        
str.Texts.Add("eidolon");
                                        
str.TextsCount 1;
                                        
client.Entity.SendScreen(str);
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"Congratz you got a PuzzleofLife(A)(B)(C) in your inventory.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    else
                                    {
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"You don't have Enough [" CPanal.itemsInnerPower "] Cps.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    break;
                                }
                            
#endregion
                            #region PackPointsInner
                            
case 8:
                                {
                                    if (
client.Entity.ConquerPoints >= CPanal.itemsInnerPower)
                                    {
                                        
client.Entity.ConquerPoints -= CPanal.itemsInnerPower;
                                        
client.Inventory.AddBoundItem(300711001);
                                        
_String str = new _String(true);
                                        
str.UID client.Entity.UID;
                                        
str.Type _String.Effect;
                                        
str.Texts.Add("eidolon");
                                        
str.TextsCount 1;
                                        
client.Entity.SendScreen(str);
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"Congratz you got a PackPointsInner in your inventory.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    else
                                    {
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"You don't have Enough [" CPanal.itemsInnerPower "] Cps.");
                                        
npc.OptionID 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    break;
                                }
                            
#endregion
                        
}
                        break;
                    }
                
#endregion 



الساعة الآن 04:22 PM

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