|
#region quickReincinarate
case 85858:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Avatar((ushort)Kernel.Random.Next(1, 54000));
dialog.Text("Hello [ <tip color=0xffc501e7> Player </tip> ] ,This is Fast Reincarnation , plaease select your first reborn \n");
dialog.Text("Please select your first character");
dialog.Option("Trojan.", 15);
dialog.Option("Warrior.", 25);
dialog.Option("Archer.", 45);
dialog.Option("WaterTaoist.", 135);
dialog.Option("FireTaoist.", 145);
dialog.Option("Ninja.", 55);
dialog.Option("Monk.", 65);
dialog.Option("Pirate.", 75);
dialog.Option("Dragon-Warrior.", 85);
dialog.Option("WindWalker", 165);
dialog.Option("Not now ", 255);
dialog.Send();
// }
break;
}
case 15:
case 25:
case 45:
case 135:
case 145:
case 55:
case 65:
case 75:
case 85:
case 165:
{
if (client.Inventory.Count > 40 - 15)
{
client.MessageBox("You need atleast 15 open spots in your items bag!");
return;
}
client.Player.firstchar = npcRequest.OptionID;
dialog.Avatar((ushort)Kernel.Random.Next(1, 54000));
dialog.Text("<tip color=0xff00fa00 desc=char#which#you#selected#when#you#created#your#account>FirstCharacter</tip>: " + Class(client.Player.firstchar) + "\n");
dialog.Text("<tip color=0xff00fa00 desc=your#first#rebirth#character>SecondCharacter</tip>: " + Class(0) + "\n");
dialog.Text("<tip color=0xff00fa00 desc=your#second#rebirth#character#&#the#char#that#you#will#play#with>FinalCharacter</tip>: " + Class(0) + "\n");
dialog.Text("Please select your second character");
dialog.Option("Trojan.", 15 + 1);
dialog.Option("Warrior.", 25 + 1);
dialog.Option("Archer.", 45 + 1);
dialog.Option("WaterTaoist.", 135 + 1);
dialog.Option("FireTaoist.", 145 + 1);
dialog.Option("Ninja.", 55 + 1);
dialog.Option("Monk.", 65 + 1);
dialog.Option("Pirate.", 75 + 1);
dialog.Option("Dragon-Warrior.", 85 + 1);
dialog.Option("WindWalker", 165 + 1);
dialog.Option("Not now ", 255);
dialog.Send();
break;
}
case 16:
case 26:
case 46:
case 136:
case 146:
case 56:
case 66:
case 76:
case 86:
case 166:
{
if (client.Inventory.Count > 40 - 15)
{
client.MessageBox("You need atleast 15 open spots in your items bag!");
return;
}
client.Player.secondchar = npcRequest.OptionID - 1;
dialog.Avatar((ushort)Kernel.Random.Next(1, 54000));
dialog.Text("<tip color=0xff00fa00 desc=char#which#you#selected#when#you#created#your#account>FirstCharacter</tip>: " + Class(client.Player.firstchar) + "\n");
dialog.Text("<tip color=0xff00fa00 desc=your#first#rebirth#character>SecondCharacter</tip>: " + Class(client.Player.secondchar) + "\n");
dialog.Text("<tip color=0xff00fa00 desc=your#second#rebirth#character#&#the#char#that#you#will#play#with>FinalCharacter</tip>: " + Class(0) + "\n");
dialog.Text("Please select your Final character");
dialog.Option("Trojan.", 15 + 2);
dialog.Option("Warrior.", 25 + 2);
dialog.Option("Archer.", 45 + 2);
dialog.Option("WaterTaoist.", 135 + 2);
dialog.Option("FireTaoist.", 145 + 2);
dialog.Option("Ninja.", 55 + 2);
dialog.Option("Monk.", 65 + 2);
dialog.Option("Pirate.", 75 + 2);
dialog.Option("Dragon-Warrior.", 85 + 2);
dialog.Option("WindWalker", 165 + 2);
dialog.Option("Not now ", 255);
dialog.Send();
break;
}
case 17:
case 27:
case 47:
case 137:
case 147:
case 57:
case 67:
case 77:
case 87:
case 167:
{
client.Player.finalchar = npcRequest.OptionID - 2;
dialog.Text("<tip color=0xff00fa00 desc=char#which#you#selected#when#you#created#your#account>Your FirstCharacter is</tip>: " + Class(client.Player.firstchar) + "\n");
dialog.Text("<tip color=0xff00fa00 desc=your#first#rebirth#character>Your SecondCharacter is</tip>: " + Class(client.Player.secondchar) + "\n");
dialog.Text("<tip color=0xff00fa00 desc=your#second#rebirth#character#&#the#char#that#you#will#play#with>Your FinalCharacter is</tip>: " + Class(client.Player.finalchar) + "\n");
dialog.Text("Do you want to Reincarnate ?");
dialog.Option("Yes", 200);
dialog.Option("Not yet", 255);
dialog.Send();
break;
}
case 200:
{
if (client.Inventory.Count > 40 - 15)
{
client.MessageBox("You need atleast 15 open spots in your items bag!");
return;
}
client.Player.Reborn = 2;
client.Player.Class = (byte)client.Player.finalchar;
client.Player.FirstRebornClass = (byte)client.Player.firstchar;
client.Player.SecondRebornClass = (byte)client.Player.secondchar;
client.Player.Level = 140;
client.Player.Agility = 36;
client.Player.Vitality = 864;
client.Player.Strength = 0;
client.Player.Spirit = 0;
client.Player.Atributes = 0;
Clearspells(client);
addclassSkills(client);
XMeGo.RestartSpell.RestartSpellClient(client);
GetProf(client);
// Reincarnate(client);
RunesSystem.RemoveAllRune(client);
if (client.Equipment.TryGetItem(5) != null)
{
client.Equipment.Remove(5);
}
if (client.Equipment.TryGetItem(4) != null)
{
client.Equipment.Remove(4);
}
if (client.Equipment.TryGetItem(3) != null)
{
client.Equipment.Remove(3);
}
if (client.Equipment.TryGetItem(1) != null)
{
client.Equipment.Remove(1);
}
client.Disconnect();
// Database.MagicTypeOP.Reborn(client, (byte)client.Player.finalchar);
//
//
break;
}
}
break;
}
#endregion
#region quickreincinarate
case 85858:
{
switch (npcrequest.optionid)
{
case 0:
{
dialog.avatar((ushort)kernel.random.next(1, 54000));
dialog.text("hello [ <tip color=0xffc501e7> player </tip> ] ,this is fast reincarnation , plaease select your first reborn \n");
dialog.text("please select your first character");
dialog.option("trojan.", 15);
dialog.option("warrior.", 25);
dialog.option("archer.", 45);
dialog.option("watertaoist.", 135);
dialog.option("firetaoist.", 145);
dialog.option("ninja.", 55);
dialog.option("monk.", 65);
dialog.option("pirate.", 75);
dialog.option("dragon-warrior.", 85);
dialog.option("windwalker", 165);
dialog.option("not now ", 255);
dialog.send();
// }
break;
}
case 15:
Case 25:
Case 45:
Case 135:
Case 145:
Case 55:
Case 65:
Case 75:
Case 85:
Case 165:
{
if (client.inventory.count > 40 - 15)
{
client.messagebox("you need atleast 15 open spots in your items bag!");
return;
}
client.player.firstchar = npcrequest.optionid;
dialog.avatar((ushort)kernel.random.next(1, 54000));
dialog.text("<tip color=0xff00fa00 desc=char#which#you#selected#when#you#created#your#account>firstcharacter</tip>: " + class(client.player.firstchar) + "\n");
dialog.text("<tip color=0xff00fa00 desc=your#first#rebirth#character>secondcharacter</tip>: " + class(0) + "\n");
dialog.text("<tip color=0xff00fa00 desc=your#second#rebirth#character#&#the#char#that#you#will#play#with>finalcharacter</tip>: " + class(0) + "\n");
dialog.text("please select your second character");
dialog.option("trojan.", 15 + 1);
dialog.option("warrior.", 25 + 1);
dialog.option("archer.", 45 + 1);
dialog.option("watertaoist.", 135 + 1);
dialog.option("firetaoist.", 145 + 1);
dialog.option("ninja.", 55 + 1);
dialog.option("monk.", 65 + 1);
dialog.option("pirate.", 75 + 1);
dialog.option("dragon-warrior.", 85 + 1);
dialog.option("windwalker", 165 + 1);
dialog.option("not now ", 255);
dialog.send();
break;
}
case 16:
Case 26:
Case 46:
Case 136:
Case 146:
Case 56:
Case 66:
Case 76:
Case 86:
Case 166:
{
if (client.inventory.count > 40 - 15)
{
client.messagebox("you need atleast 15 open spots in your items bag!");
return;
}
client.player.secondchar = npcrequest.optionid - 1;
dialog.avatar((ushort)kernel.random.next(1, 54000));
dialog.text("<tip color=0xff00fa00 desc=char#which#you#selected#when#you#created#your#account>firstcharacter</tip>: " + class(client.player.firstchar) + "\n");
dialog.text("<tip color=0xff00fa00 desc=your#first#rebirth#character>secondcharacter</tip>: " + class(client.player.secondchar) + "\n");
dialog.text("<tip color=0xff00fa00 desc=your#second#rebirth#character#&#the#char#that#you#will#play#with>finalcharacter</tip>: " + class(0) + "\n");
dialog.text("please select your final character");
dialog.option("trojan.", 15 + 2);
dialog.option("warrior.", 25 + 2);
dialog.option("archer.", 45 + 2);
dialog.option("watertaoist.", 135 + 2);
dialog.option("firetaoist.", 145 + 2);
dialog.option("ninja.", 55 + 2);
dialog.option("monk.", 65 + 2);
dialog.option("pirate.", 75 + 2);
dialog.option("dragon-warrior.", 85 + 2);
dialog.option("windwalker", 165 + 2);
dialog.option("not now ", 255);
dialog.send();
break;
}
case 17:
Case 27:
Case 47:
Case 137:
Case 147:
Case 57:
Case 67:
Case 77:
Case 87:
Case 167:
{
client.player.finalchar = npcrequest.optionid - 2;
dialog.text("<tip color=0xff00fa00 desc=char#which#you#selected#when#you#created#your#account>your firstcharacter is</tip>: " + class(client.player.firstchar) + "\n");
dialog.text("<tip color=0xff00fa00 desc=your#first#rebirth#character>your secondcharacter is</tip>: " + class(client.player.secondchar) + "\n");
dialog.text("<tip color=0xff00fa00 desc=your#second#rebirth#character#&#the#char#that#you#will#play#with>your finalcharacter is</tip>: " + class(client.player.finalchar) + "\n");
dialog.text("do you want to reincarnate ?");
dialog.option("yes", 200);
dialog.option("not yet", 255);
dialog.send();
break;
}
case 200:
{
if (client.inventory.count > 40 - 15)
{
client.messagebox("you need atleast 15 open spots in your items bag!");
return;
}
client.player.reborn = 2;
client.player.class = (byte)client.player.finalchar;
client.player.firstrebornclass = (byte)client.player.firstchar;
client.player.secondrebornclass = (byte)client.player.secondchar;
client.player.level = 140;
client.player.agility = 36;
client.player.vitality = 864;
client.player.strength = 0;
client.player.spirit = 0;
client.player.atributes = 0;
clearspells(client);
addclassskills(client);
xmego.restartspell.restartspellclient(client);
getprof(client);
// reincarnate(client);
runessystem.removeallrune(client);
if (client.equipment.trygetitem(5) != null)
{
client.equipment.remove(5);
}
if (client.equipment.trygetitem(4) != null)
{
client.equipment.remove(4);
}
if (client.equipment.trygetitem(3) != null)
{
client.equipment.remove(3);
}
if (client.equipment.trygetitem(1) != null)
{
client.equipment.remove(1);
}
client.disconnect();
// database.magictypeop.reborn(client, (byte)client.player.finalchar);
//
//
break;
}
}
break;
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
عوز انبسي بي اصطف +12 | احمد التركي | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-05-08 02:50 AM |
انبسي Sell_Money_For_Cps | Amr Khalid | تطوير سيرفرات كونكر | 0 | 2020-04-01 02:27 AM |
طلب في انبسي | مجدى | مشكلات السيرفيرات كونكر الشخصيه | 8 | 2020-01-29 04:39 AM |
عوز انبسي اسطف | Amr Khalid | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-11-26 10:20 PM |
عوز انبسي انلاين بينت | Amr Khalid | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-11-26 09:26 AM |