المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : npc SkillSoul


محمد ياسر
2019-07-19, 03:59 PM
السلام عليكم ورحمة الله وبركاته
#region SkillSoul
case 12345:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.VIPLevel != 6)
{
dialog.Text("Only Vip 6 Players Can Talk To This Npc.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
Program.CommandsAI("@save");
Program.CommandsAI("@load");
dialog.Text("Hey bro only from me you can buy the skills of soul you can buy the SkillSoul for " + 1000000 + " and SuperSkillSoul " + 2000000 + " its amazing offer ? ");
dialog.Option("Fire of Hell", 2);//1165
dialog.Option("Toxic Fog", 3);//6001
dialog.Option("Twofold Blades", 4);//6000
dialog.Option("Blistering Wave", 5);//11650
dialog.Option("Tornado", 6);//1002
dialog.Option("Whirlwind Kick", 7);//10415
dialog.Option("Blade Tempest", 8);//11110
dialog.Option("Dagger Storm", 9);//11600
dialog.Option("Radiant Palm", 10);//10381
dialog.Option("Scent Sword", 11);//1046
dialog.Option("Charging Vortex", 12);//11190
dialog.Option("Dragon Tail", 13);//11000
dialog.Option("Snow", 14);//5010
dialog.Option("Bloody Scythe", 15);//11170
dialog.Option("Fast Blade", 16);//1045
dialog.Option("Phoenix", 17);//5030
dialog.Option("Gale Bomb", 18);//11070
dialog.Option("Hercules", 19);//1115
dialog.Option("Viper Fang", 20);//11005
dialog.Option("Just passing by.", 255);//RL = Rawa7 Le Omak LoL :)
dialog.Avatar(80);
dialog.Send();
break;
}
#region Fire of Hell
case 2:
if (client.Spells.ContainsKey(1165))
{
dialog.Text("You Choise The Skill Name ...[Fire of Hell]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 21);
dialog.Option("Give Me SuperSkillSouls", 22);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 21:
{
if (client.Spells[1165].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(1165))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[1165].LevelHu += 1;
Program.CommandsAI("@save");
Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 22:
{

if (client.Spells[1165].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[1165].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(1165))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[1165].LevelHu += 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Toxic Fog
case 3:
if (client.Spells.ContainsKey(6001))
{
dialog.Text("You Choise The Skill Name ...[Toxic Fog]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 31);
dialog.Option("Give Me SuperSkillSouls", 32);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 31:
{
if (client.Spells[6001].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(6001))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[6001].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 32:
{

if (client.Spells[6001].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[6001].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(6001))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[6001].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Twofold Blades
case 4:
if (client.Spells.ContainsKey(6000))
{
dialog.Text("You Choise The Skill Name ...[Twofold Blades]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 41);
dialog.Option("Give Me SuperSkillSouls", 42);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 41:
{
if (client.Spells[6000].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(6000))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[6000].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 42:
{

if (client.Spells[6000].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[6000].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(6000))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[6000].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Blistering Wave
case 5:
if (client.Spells.ContainsKey(11650))
{
dialog.Text("You Choise The Skill Name ...[Blistering Wave]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 51);
dialog.Option("Give Me SuperSkillSouls", 52);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 51:
{
if (client.Spells[11650].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(11650))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[11650].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 52:
{

if (client.Spells[11650].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[11650].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(11650))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[11650].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Tornado
case 6:
if (client.Spells.ContainsKey(1002))
{
dialog.Text("You Choise The Skill Name ...[Tornado]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 61);
dialog.Option("Give Me SuperSkillSouls", 62);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 61:
{
if (client.Spells[1002].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(1002))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[1002].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 62:
{

if (client.Spells[1002].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[1002].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(1002))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[1002].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Whirlwind Kick
case 7:
if (client.Spells.ContainsKey(10415))
{
dialog.Text("You Choise The Skill Name ...[Whirlwind Kick]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 71);
dialog.Option("Give Me SuperSkillSouls", 72);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 71:
{
if (client.Spells[10415].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(10415))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[10415].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 72:
{

if (client.Spells[10415].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[10415].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(10415))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[10415].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Blade Tempest
case 8:
if (client.Spells.ContainsKey(11110))
{
dialog.Text("You Choise The Skill Name ...[Blade Tempest]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 81);
dialog.Option("Give Me SuperSkillSouls", 82);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 81:
{
if (client.Spells[11110].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(11110))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[11110].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 82:
{

if (client.Spells[11110].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[11110].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(11110))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[11110].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Dagger Storm
case 9:
if (client.Spells.ContainsKey(11600))
{
dialog.Text("You Choise The Skill Name ...[Dagger Storm]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 91);
dialog.Option("Give Me SuperSkillSouls", 92);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 91:
{
if (client.Spells[11600].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(11600))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[11600].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 92:
{

if (client.Spells[11600].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[11600].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(11600))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[11600].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Radiant Palm
case 10:
if (client.Spells.ContainsKey(10381))
{
dialog.Text("You Choise The Skill Name ...[Radiant Palm]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 101);
dialog.Option("Give Me SuperSkillSouls", 102);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 101:
{
if (client.Spells[10381].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(10381))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[10381].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 102:
{

if (client.Spells[10381].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[10381].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(10381))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[10381].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Scent Sword
case 11:
if (client.Spells.ContainsKey(1046))
{
dialog.Text("You Choise The Skill Name ...[Scent Sword]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 111);
dialog.Option("Give Me SuperSkillSouls", 112);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 111:
{
if (client.Spells[1046].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(1046))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[1046].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 112:
{

if (client.Spells[1046].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[1046].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(1046))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[1046].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Charging Vortex
case 12:
if (client.Spells.ContainsKey(11190))
{
dialog.Text("You Choise The Skill Name ...[Charging Vortex]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 121);
dialog.Option("Give Me SuperSkillSouls", 122);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 121:
{
if (client.Spells[11190].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(11190))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[11190].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 122:
{

if (client.Spells[11190].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[11190].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(11190))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[11190].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Dragon Tail
case 13:
if (client.Spells.ContainsKey(11000))
{
dialog.Text("You Choise The Skill Name ...[Dragon Tail]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 131);
dialog.Option("Give Me SuperSkillSouls", 132);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 131:
{
if (client.Spells[11000].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(11000))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[11000].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 132:
{

if (client.Spells[11000].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[11000].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(11000))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[11000].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Snow
case 14:
if (client.Spells.ContainsKey(5010))
{
dialog.Text("You Choise The Skill Name ...[Snow]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 141);
dialog.Option("Give Me SuperSkillSouls", 142);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 141:
{
if (client.Spells[5010].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(5010))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[5010].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 142:
{

if (client.Spells[5010].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[5010].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(5010))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[5010].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Bloody Scythe
case 15:
if (client.Spells.ContainsKey(11170))
{
dialog.Text("You Choise The Skill Name ...[Bloody Scythe]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 151);
dialog.Option("Give Me SuperSkillSouls", 152);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 151:
{
if (client.Spells[11170].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(11170))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[11170].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 152:
{

if (client.Spells[11170].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[11170].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(11170))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[11170].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Fast Blade
case 16:
if (client.Spells.ContainsKey(1045))
{
dialog.Text("You Choise The Skill Name ...[Fast Blade]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 161);
dialog.Option("Give Me SuperSkillSouls", 162);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 161:
{
if (client.Spells[1045].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(1045))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[1045].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 162:
{

if (client.Spells[1045].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[1045].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(1045))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[1045].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Phoenix
case 17:
if (client.Spells.ContainsKey(5030))
{
dialog.Text("You Choise The Skill Name ...[Phoenix]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 171);
dialog.Option("Give Me SuperSkillSouls", 172);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 171:
{
if (client.Spells[5030].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(5030))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[5030].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 172:
{

if (client.Spells[5030].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[5030].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(5030))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[5030].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Gale Bomb
case 18:
if (client.Spells.ContainsKey(11070))
{
dialog.Text("You Choise The Skill Name ...[Gale Bomb]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 181);
dialog.Option("Give Me SuperSkillSouls", 182);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 181:
{
if (client.Spells[11070].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(11070))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[11070].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 182:
{

if (client.Spells[11070].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[11070].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(11070))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[11070].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Hercules
case 19:
if (client.Spells.ContainsKey(1115))
{
dialog.Text("You Choise The Skill Name ...[Hercules]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 191);
dialog.Option("Give Me SuperSkillSouls", 192);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 191:
{
if (client.Spells[1115].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(1115))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[1115].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 192:
{

if (client.Spells[1115].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[1115].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(1115))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[1115].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
#region Viper Fang
case 20:
if (client.Spells.ContainsKey(11005))
{
dialog.Text("You Choise The Skill Name ...[Viper Fang]... But Lut me Told You No Back On Ths Choise Later");
dialog.Option("Give Me SkillSouls", 201);
dialog.Option("Give Me SuperSkillSouls", 202);
dialog.Option("I`ll~talk~to~you~later.", 0xff);
dialog.Send();
}
else
{
dialog.Text("You don't have this skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
case 201:
{
if (client.Spells[11005].LevelHu >= 1)
{
dialog.Text("You Are Buy SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 1000000 && client.Spells.ContainsKey(11005))
{
client.Entity.ConquerPoints -= 1000000;
client.Spells[11005].LevelHu = 1; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 1000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 202:
{
if (client.Spells[11005].LevelHu >= 2)
{
dialog.Text("You Are Buy SuperSkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Spells[11005].LevelHu != 1)
{
dialog.Text("You Not Open The SkillSoul In This Skill To Open Super SkillSoul You Should Open The SkillSoul.");
dialog.Option("Ah...", 255);
dialog.Send();
return;
}
if (client.Entity.ConquerPoints >= 2000000 && client.Spells.ContainsKey(11005))
{
client.Entity.ConquerPoints -= 2000000;
client.Spells[11005].LevelHu = 2; Program.CommandsAI("@save"); Program.CommandsAI("@load");
}
else
{
dialog.Text("You don't have " + 2000000 + " ConquerPoints Or you Not Learn The Skill.");
dialog.Option("Ah, my bad", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
#endregion
}
break;
}
#endregion


وعلشان الشغل يكمل والاسكله تكون معاك بعد رستلت السيرفير
في كلاس الباكت هاندل ابحث عن
case "@save":
وتحط ده جواه
Database.SkillTable.SaveSpells(client,conn);

disco0o
2021-07-25, 12:12 AM
LevelHu
بيجيلى ارور هنا