Hassan Emprator
2019-07-08, 07:58 AM
السلام عليكم كويستت الليترز جميله وانشاء الله تعجبكو يله نبدا
اول حاجه هنفتح كلاس Npc وي نحط دا فيه
#region [Quest Letters]
case 131312:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Good job man you are strong man ,So What brought?");
dialog.Option("Swap C.O.N.Q.U.E.R", 50);
dialog.Option("Swap C.O.N.Q.U.E.R.9.", 40);
dialog.Option("i`ll pass.", 255);
dialog.Send();
break;
}
case 3:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
{
dialog.Text("Good job man you are strong man ,So What brought?");
dialog.Option("Swap C.O.N.Q.U.E.R", 50);
dialog.Option("Swap C.O.N.Q.U.E.R.9.", 40);
dialog.Option("i`ll pass.", 255);
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 50:
{
if (client.Entity.Level > 134 && client.Entity.First == 0)
{
if (client.Inventory.Contains(711214, 1) || client.Inventory.Contains(711215, 1) || client.Inventory.Contains(711216, 1) || client.Inventory.Contains(711217, 1) || client.Inventory.Contains(711218, 1) || client.Inventory.Contains(711219, 1) || client.Inventory.Contains(711220, 1))
{
dialog.Text("Well done! Now what would you like to claim?");
dialog.Option("10.000 CPs", 110);
dialog.Option("70 OnlineTrainingPoints [OTP`s]", 111);
dialog.Option("50000 Chi Points", 112);
dialog.Option("SacredRefinery", 172);
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
break;
}
}
else
{
dialog.Text("Sorry There isn't level 135 or more or you make it come back tommorrow!");
dialog.Option("okay", 255);
break;
}
break;
}
case 172:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Add(3004249, 0, 1);
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
dialog.Text("You`ve received a SacredRefinery");
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 112:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.ChiPoints += 50000;
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
dialog.Text("You`ve received 50000 Chi Points");
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 111:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Entity.OnlinePoints += 70;
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
dialog.Text("You`ve received 70 OnlineTrainingPoints");
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 110:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Entity.ConquerPoints += 10000;
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
dialog.Option("You`ve received 50.000 CPs", 112);
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 40:
{
if (client.Entity.Level > 134 && client.Entity.First == 0)
{
if (client.Inventory.Contains(711214, 1) || client.Inventory.Contains(711215, 1) || client.Inventory.Contains(711216, 1) || client.Inventory.Contains(711217, 1) || client.Inventory.Contains(711218, 1) || client.Inventory.Contains(711219, 1) || client.Inventory.Contains(711220, 1) || client.Inventory.Contains(711221, 1))
{
dialog.Text("Well done! Now what would you like to claim?");
dialog.Option("50.000 CPs", 150);
dialog.Option("100 OnlineTrainingPoints [OTP`s]", 140);
dialog.Option("P7EquipmentSoulPack", 130);
dialog.Option("P7WeaponSoulPack", 120);
dialog.Option("SacredRefinery", 220);
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
break;
}
}
else
{
dialog.Text("Sorry There isn't level 135 or more or you make it come back tommorrow!");
dialog.Option("okay", 255);
break;
}
break;
}
case 220:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
if (client.Inventory.Contains(711221, 1))//9
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Remove(711221, 1);
client.Inventory.Add(3004249, 0, 1);
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get SacredRefinery");
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 120:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
if (client.Inventory.Contains(711221, 1))//9
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Remove(711221, 1);
client.Inventory.Add(3004247, 0, 1);
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get P7WeaponSoulPack");
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 130:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
if (client.Inventory.Contains(711221, 1))//9
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Remove(711221, 1);
client.Inventory.Add(3004248, 0, 1);
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get P7EquipmentSoulPack");
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 140:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
if (client.Inventory.Contains(711221, 1))//9
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Remove(711221, 1);
client.Entity.OnlinePoints += 100;
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get 100 Online Training Points");
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 150:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
if (client.Inventory.Contains(711221, 1))//9
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Remove(711221, 1);
client.Entity.ConquerPoints += 50000;
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get 50.000 CPS");
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
بعد كدا نفتح كلاس MonsterTable.cs وبعدين نحط دا تحت كود الدروب عا طول او اي حته
#region ConquerLetters
if (Name == "Pheasant")
{
if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711214, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711215, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711216, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711217, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711218, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711219, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711221, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711220, 0, 1);
}
}
#endregion
دعوه حلوه بقلا
اول حاجه هنفتح كلاس Npc وي نحط دا فيه
#region [Quest Letters]
case 131312:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Good job man you are strong man ,So What brought?");
dialog.Option("Swap C.O.N.Q.U.E.R", 50);
dialog.Option("Swap C.O.N.Q.U.E.R.9.", 40);
dialog.Option("i`ll pass.", 255);
dialog.Send();
break;
}
case 3:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
{
dialog.Text("Good job man you are strong man ,So What brought?");
dialog.Option("Swap C.O.N.Q.U.E.R", 50);
dialog.Option("Swap C.O.N.Q.U.E.R.9.", 40);
dialog.Option("i`ll pass.", 255);
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 50:
{
if (client.Entity.Level > 134 && client.Entity.First == 0)
{
if (client.Inventory.Contains(711214, 1) || client.Inventory.Contains(711215, 1) || client.Inventory.Contains(711216, 1) || client.Inventory.Contains(711217, 1) || client.Inventory.Contains(711218, 1) || client.Inventory.Contains(711219, 1) || client.Inventory.Contains(711220, 1))
{
dialog.Text("Well done! Now what would you like to claim?");
dialog.Option("10.000 CPs", 110);
dialog.Option("70 OnlineTrainingPoints [OTP`s]", 111);
dialog.Option("50000 Chi Points", 112);
dialog.Option("SacredRefinery", 172);
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
break;
}
}
else
{
dialog.Text("Sorry There isn't level 135 or more or you make it come back tommorrow!");
dialog.Option("okay", 255);
break;
}
break;
}
case 172:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Add(3004249, 0, 1);
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
dialog.Text("You`ve received a SacredRefinery");
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 112:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.ChiPoints += 50000;
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
dialog.Text("You`ve received 50000 Chi Points");
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 111:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Entity.OnlinePoints += 70;
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
dialog.Text("You`ve received 70 OnlineTrainingPoints");
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 110:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Entity.ConquerPoints += 10000;
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
dialog.Option("You`ve received 50.000 CPs", 112);
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 40:
{
if (client.Entity.Level > 134 && client.Entity.First == 0)
{
if (client.Inventory.Contains(711214, 1) || client.Inventory.Contains(711215, 1) || client.Inventory.Contains(711216, 1) || client.Inventory.Contains(711217, 1) || client.Inventory.Contains(711218, 1) || client.Inventory.Contains(711219, 1) || client.Inventory.Contains(711220, 1) || client.Inventory.Contains(711221, 1))
{
dialog.Text("Well done! Now what would you like to claim?");
dialog.Option("50.000 CPs", 150);
dialog.Option("100 OnlineTrainingPoints [OTP`s]", 140);
dialog.Option("P7EquipmentSoulPack", 130);
dialog.Option("P7WeaponSoulPack", 120);
dialog.Option("SacredRefinery", 220);
dialog.Send();
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
break;
}
}
else
{
dialog.Text("Sorry There isn't level 135 or more or you make it come back tommorrow!");
dialog.Option("okay", 255);
break;
}
break;
}
case 220:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
if (client.Inventory.Contains(711221, 1))//9
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Remove(711221, 1);
client.Inventory.Add(3004249, 0, 1);
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get SacredRefinery");
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 120:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
if (client.Inventory.Contains(711221, 1))//9
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Remove(711221, 1);
client.Inventory.Add(3004247, 0, 1);
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get P7WeaponSoulPack");
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 130:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
if (client.Inventory.Contains(711221, 1))//9
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Remove(711221, 1);
client.Inventory.Add(3004248, 0, 1);
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get P7EquipmentSoulPack");
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 140:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
if (client.Inventory.Contains(711221, 1))//9
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Remove(711221, 1);
client.Entity.OnlinePoints += 100;
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get 100 Online Training Points");
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
case 150:
{
if (client.Inventory.Contains(711214, 1))//C
if (client.Inventory.Contains(711215, 1))//O
if (client.Inventory.Contains(711216, 1))//N
if (client.Inventory.Contains(711217, 1))//Q
if (client.Inventory.Contains(711218, 1))//U
if (client.Inventory.Contains(711219, 1))//E
if (client.Inventory.Contains(711220, 1))//R
if (client.Inventory.Contains(711221, 1))//9
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(711215, 1);
client.Inventory.Remove(711216, 1);
client.Inventory.Remove(711217, 1);
client.Inventory.Remove(711218, 1);
client.Inventory.Remove(711219, 1);
client.Inventory.Remove(711220, 1);
client.Inventory.Remove(711221, 1);
client.Entity.ConquerPoints += 50000;
client.Entity.First = 1;
client.Entity.Update(_String.Effect, "end_task", true);
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get 50.000 CPS");
}
else
{
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
dialog.Option("Oh, sorry.", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
بعد كدا نفتح كلاس MonsterTable.cs وبعدين نحط دا تحت كود الدروب عا طول او اي حته
#region ConquerLetters
if (Name == "Pheasant")
{
if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711214, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711215, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711216, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711217, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711218, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711219, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711221, 0, 1);
}
else if (Kernel.Rate(1) && Kernel.Rate(40))
{
killer.Owner.Inventory.Add(711220, 0, 1);
}
}
#endregion
دعوه حلوه بقلا