احصائياتى

الردود
1

المشاهدات
665
 
Hazem
.:: المدير العام::.

    غير متواجد

المشاركات
2,317

+التقييم
0.84

تاريخ التسجيل
Apr 2019

الاقامة
Egypt

نظام التشغيل
windows 7

رقم العضوية
1
2019-04-18, 11:03 AM
المشاركة 1
2019-04-18, 11:03 AM
المشاركة 1
Post npc بيع الحيوانات الاليفه

السلام عليكم ورحمة الله وبركاته

انبي سي بيع الحيوانات الاليفه الي بتكون ماشيه جنبك

يلا نبداء

افتح npcs.cs

وضيف ده


كود:
#region Seller Pet
case 8011://and this id
{
switch (
npcRequest.OptionID)
{
case 
0:
{
dialog.Text("Welcome , i'm admin Pet a Pet if You Have 1200 Cps I Can Give you Skills Pet a Pet  ");
dialog.Option("BuY SummonRipper.", 1);
// dialog.Option("BuY ChaosRipper(Transform).", 2);
dialog.Option("BuY CatBellLevel 5.", 3);
dialog.Option("BuY SummonFox.", 4);
dialog.Option("BuY SummonCrane.", 5);
dialog.Option("BuY SummonPanda.", 6);
dialog.Option("BuY SummonVoltaicWarg.", 7);
dialog.Option("Have a good day.", 255);
dialog.Send();
break;
}
#region Pets
case 1:
{
if (
client.Entity.ConquerPoints < 1200)
{
dialog.Text("You don't have 1200 ConquerPoints");
dialog.Option("Thank you master.", 255);
dialog.Send();
return;
}
if (
client.Entity.ConquerPoints >= 1200)
{
if (!
client.AddSpell(LearnableSpell(12470)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
client.Entity.ConquerPoints -= 1200;
}
}
break;
}
case 
2:
{
if (
client.Entity.ConquerPoints < 1200)
{
dialog.Text("You don't have 1200 ConquerPoints");
dialog.Option("Thank you master.", 255);
dialog.Send();
return;
}
if (
client.Entity.ConquerPoints >= 1200)
{
if (!
client.AddSpell(LearnableSpell(12480)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
client.Entity.ConquerPoints -= 1200;
}
}
break;
}
case 
3:
{
if (
client.Entity.ConquerPoints < 1200)
{
dialog.Text("You don't have 1200 ConquerPoints");
dialog.Option("Thank you master.", 255);
dialog.Send();
return;
}
if (
client.Entity.ConquerPoints >= 1200)
{
if (!
client.AddSpell(LearnableSpell(12610)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
client.Entity.ConquerPoints -= 1200;
}
}
break;
}
case 
4:
{
if (
client.Entity.ConquerPoints < 1200)
{
dialog.Text("You don't have 1200 ConquerPoints");
dialog.Option("Thank you master.", 255);
dialog.Send();
return;
}
if (
client.Entity.ConquerPoints >= 1200)
{
if (!
client.AddSpell(LearnableSpell(12020)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
client.Entity.ConquerPoints -= 1200;
}
}
break;
}
case 
5:
{
if (
client.Entity.ConquerPoints < 1200)
{
dialog.Text("You don't have 1200 ConquerPoints");
dialog.Option("Thank you master.", 255);
dialog.Send();
return;
}
if (
client.Entity.ConquerPoints >= 1200)
{
if (!
client.AddSpell(LearnableSpell(12030)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
client.Entity.ConquerPoints -= 1200;
}
}
break;
}
case 
6:
{
if (
client.Entity.ConquerPoints < 1200)
{
dialog.Text("You don't have 1200 ConquerPoints");
dialog.Option("Thank you master.", 255);
dialog.Send();
return;
}
if (
client.Entity.ConquerPoints >= 1200)
{
if (!
client.AddSpell(LearnableSpell(12040)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
client.Entity.ConquerPoints -= 1200;
}
}
break;
}
case 
7:
{
if (
client.Entity.ConquerPoints < 1200)
{
dialog.Text("You don't have 1200 ConquerPoints");
dialog.Option("Thank you master.", 255);
dialog.Send();
return;
}
if (
client.Entity.ConquerPoints >= 1200)
{
if (!
client.AddSpell(LearnableSpell(12050)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
client.Entity.ConquerPoints -= 1200;
}
}
break;
}
#endregion Pets
}
break;
}
#endregion 

باقي تحطهم في القاعده


قديم 2019-06-25, 10:43 PM
المشاركة 2
MohamedModyAdel
.:: عضو مميز ::.
  • غير متواجد
افتراضي رد: npc بيع الحيوانات الاليفه
جميل


العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

الانتقال السريع



الساعة الآن 09:43 PM