Sem muito oque falar
- Código:
#region PureSkills
case 2017:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello " + client.Entity.Name + " , PureSkills in manutention ! Please contact support to put in you!!!");
// dialog.Option("CounterKill(Ninja)", 1);
// dialog.Option("SoulShackle(Monk)", 2);
// dialog.Option("StarArrow(Archer", 3);
// dialog.Option("AzureShield(Water)", 4);
// dialog.Option("HeavenBlade(Fire)", 5);
//// dialog.Option("Perseverance(Warrior)", 6);
// dialog.Option("DragonWhirl(Trojan)", 7);
// dialog.Option("PoisonStar(Ninja)", ;
dialog.Send();
break;
}
case 1: // CounterKill
{
if (client.Entity.Class >= 50 && client.Entity.Class <= 55)
{
if (client.Entity.Level >= 70)
{
if (client.Entity.Reborn == 2 && client.Entity.Class == 55 && client.Entity.FirstRebornClass == 55 && client.Entity.SecondRebornClass == 55)
{
if (!client.AddSpell(LearnableSpell(6003)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the CounterKill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You need to be ninja in the third life.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("You need to be level 70 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + client.Entity.Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 2: // SoulShackle
{
if (client.Entity.Class >= 60 && client.Entity.Class <= 65)
{
if (client.Entity.Level >= 70)
{
if (client.Entity.Reborn == 2 && client.Entity.Class == 65 && client.Entity.FirstRebornClass == 65 && client.Entity.SecondRebornClass == 65)
{
if (!client.AddSpell(LearnableSpell(10405)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the SoulShackle.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You need to be monk in the third life.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("You need to be level 70 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + client.Entity.Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 3: // StarArrow
{
if (client.Entity.Class >= 40 && client.Entity.Class <= 45)
{
if (client.Entity.Level >= 70)
{
if (client.Entity.Reborn == 2 && client.Entity.Class == 45 && client.Entity.FirstRebornClass == 45 && client.Entity.SecondRebornClass == 45)
{
if (!client.AddSpell(LearnableSpell(10313)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the StarArrow.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You need to be archer in the third life.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("You need to be level 70 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + client.Entity.Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 4: // AzureShield
{
if (client.Entity.Class >= 130 && client.Entity.Class <= 135)
{
if (client.Entity.Level >= 70)
{
if (client.Entity.Reborn == 2 && client.Entity.Class == 135 && client.Entity.FirstRebornClass == 135 && client.Entity.SecondRebornClass == 135)
{
if (!client.AddSpell(LearnableSpell(30000)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the AzureShield.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You need to be water in the third life.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("You need to be level 70 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + client.Entity.Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 5: // HeavenBlade
{
if (client.Entity.Class >= 140 && client.Entity.Class <= 145)
{
if (client.Entity.Level >= 70)
{
if (client.Entity.Reborn == 2 && client.Entity.Class == 145 && client.Entity.FirstRebornClass == 145 && client.Entity.SecondRebornClass == 145)
{
if (!client.AddSpell(LearnableSpell(10310)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the HavenBlade.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You need to be fire in the third life.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("You need to be level 70 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + client.Entity.Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 6: // Perseverance
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 70)
{
if (client.Entity.Reborn == 2 && client.Entity.Class == 25 && client.Entity.FirstRebornClass == 25 && client.Entity.SecondRebornClass == 25)
{
if (!client.AddSpell(LearnableSpell(10311)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the Perseverance.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You need to be warrior in the third life.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("You need to be level 70 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + client.Entity.Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 7: // DragonWhirl
{
if (client.Entity.Class >= 10 && client.Entity.Class <= 15)
{
if (client.Entity.Level >= 70)
{
if (client.Entity.Reborn == 2 && client.Entity.Class == 15 && client.Entity.FirstRebornClass == 15 && client.Entity.SecondRebornClass == 15)
{
if (!client.AddSpell(LearnableSpell(10315)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the DragonWhirl.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You need to be trojan in the third life.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("You need to be level 70 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + client.Entity.Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 8: // PoisonStar
{
if (client.Entity.Class >= 50 && client.Entity.Class <= 55)
{
if (client.Entity.Level >= 70)
{
if (client.Entity.Reborn == 2 && client.Entity.Class == 55 && client.Entity.FirstRebornClass == 55 && client.Entity.SecondRebornClass == 55)
{
if (!client.AddSpell(LearnableSpell(6002)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the PoisonStar.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You need to be ninja in the third life.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("You need to be level 70 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + client.Entity.Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion