|
المشاركات 894 |
+التقييم 0.44 |
تاريخ التسجيل Apr 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 115 |
#region Change Sex
case 15805:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("If you want to change your gender for a new life, I can help you. Before making the");
dialog.Text("~magic of gender reassignment works, you need to pay 1075 CPs, and make sure you`ve understood");
dialog.Text("~the rules and procedures about the reassignment.");
dialog.Option("Please~change~my~gender,~now.", 1);
dialog.Option("What~else~should~I~know?", 2);
dialog.Option("Not~interested.", 255);
dialog.Avatar(218);
dialog.Send();
break;
}
case 1:
{
dialog.Text("If you want to change your gender for a new life, I can help you. Before making the");
dialog.Text("~magic of gender reassignment works, you need to pay 1075 CPs, and make sure you`ve understood");
dialog.Text("~the rules and procedures about the reassignment.");
dialog.Option("Please~change~my~gender,~now.", 3);
dialog.Option("What~else~should~I~know?", 2);
dialog.Option("Not~interested.", 255);
dialog.Avatar(218);
dialog.Send();
break;
}
case 2:
{
dialog.Text("To make gender reassignment as simple as possible, I want you to be single, not married. Make sure you`ve");
dialog.Text("~properly handled with your clan and guild affairs. After the reassignment, your name will be removed");
dialog.Text("~from the Charm ranking, and your garment will be put into your inventory. All in all, you need to carefully");
dialog.Option("I~want~to~change~my~gender.", 1);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Avatar(218);
dialog.Send();
break;
}
case 3:
{
if (client.Player.ConquerPoints < 50000000)
{
dialog.Text("Gender reassignment requires 50kk CPs. Make sure you have enough money with you.");
dialog.Option("Okay.", 255);
dialog.Avatar(218);
dialog.Send();
}
else
{
if (client.Player.Body == 1006)
{
MsgItemEquip equips = new MsgItemEquip();
equips.DoEquips(client);
client.Send(equips.ToArray());
client.NobilityInformation.Gender = 1;
client.Player.Spouse = "None";
client.Player.ConquerPoints -= 50000000;
client.Player.Body = 2005;
#region Body Class all
if (client.Player.Class >= 160 && client.Player.Class <= 165)
{
client.Player.Face = (ushort)Kernel.Random.Next(365, 369);
}
else if (client.Player.Class >= 50 && client.Player.Class <= 55)
{
client.Player.Face = (ushort)Kernel.Random.Next(291, 296);
}
else if (client.Player.Class >= 60 && client.Player.Class <= 65)
{
client.Player.Face = (ushort)Kernel.Random.Next(300, 304);
}
else if (client.Player.Class >= 70 && client.Player.Class <= 75)
{
client.Player.Face = (ushort)Kernel.Random.Next(345, 349);
}
else if (client.Player.Class >= 80 && client.Player.Class <= 85)
{
client.Player.Face = (ushort)Kernel.Random.Next(355, 359);
}
else if (client.Player.Class >= 100 && client.Player.Class <= 145)
{
client.Player.Face = (ushort)Kernel.Random.Next(201, 290);
}
else if (client.Player.Class >= 40 && client.Player.Class <= 45)
{
client.Player.Face = (ushort)Kernel.Random.Next(201, 290);
}
else if (client.Player.Class >= 20 && client.Player.Class <= 25)
{
client.Player.Face = (ushort)Kernel.Random.Next(201, 290);
}
else if (client.Player.Class >= 10 && client.Player.Class <= 15)
{
client.Player.Face = (ushort)Kernel.Random.Next(201, 290);
}
#endregion
client.Equipment.UpdateEntityPacket();
Database.EntityTable.SaveEntity(client);
}
else
{
MsgItemEquip equips = new MsgItemEquip();
equips.DoEquips(client);
client.Send(equips.ToArray());
client.NobilityInformation.Gender = 0;
client.Player.Spouse = "None";
client.Player.ConquerPoints -= 50000000;
client.Player.Body = 1006;
#region Body Class all
if (client.Player.Class >= 160 && client.Player.Class <= 165)
{
client.Player.Face = (ushort)Kernel.Random.Next(174, 178);
}
else if (client.Player.Class >= 50 && client.Player.Class <= 55)
{
client.Player.Face = (ushort)Kernel.Random.Next(103, 107);
}
else if (client.Player.Class >= 60 && client.Player.Class <= 65)
{
client.Player.Face = (ushort)Kernel.Random.Next(109, 113);
}
else if (client.Player.Class >= 70 && client.Player.Class <= 75)
{
client.Player.Face = (ushort)Kernel.Random.Next(154, 158);
}
else if (client.Player.Class >= 80 && client.Player.Class <= 85)
{
client.Player.Face = (ushort)Kernel.Random.Next(164, 168);
}
else if (client.Player.Class >= 10 && client.Player.Class <= 145)
{
client.Player.Face = (ushort)Kernel.Random.Next(1, 102);
}
else if (client.Player.Class >= 40 && client.Player.Class <= 45)
{
client.Player.Face = (ushort)Kernel.Random.Next(1, 102);
}
else if (client.Player.Class >= 20 && client.Player.Class <= 25)
{
client.Player.Face = (ushort)Kernel.Random.Next(1, 102);
}
else if (client.Player.Class >= 10 && client.Player.Class <= 15)
{
client.Player.Face = (ushort)Kernel.Random.Next(1, 102);
}
#endregion
client.Equipment.UpdateEntityPacket();
Database.EntityTable.SaveEntity(client);
}
}
break;
}
}
break;
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
ثغره في سورس متركس | محمودمحمدسالم | تطوير سيرفرات كونكر | 4 | 2020-05-16 11:53 AM |
ثغره في سورس Matrix 3d V1 | محمودمحمدسالم | تطوير سيرفرات كونكر | 6 | 2020-05-07 11:38 PM |
سيستم تحدد مين ياخد سبيس من في اي بي 1 لي 8 | zezonever | تطوير سيرفرات كونكر | 5 | 2020-04-13 04:53 AM |
ايتم تحويل الولد لبنت والعكس | محمد ياسر | تطوير سيرفرات كونكر | 5 | 2019-09-14 03:23 PM |
خلي قونصل سورسك يقري الماكس اون لين | محمد ياسر | تطوير سيرفرات كونكر | 2 | 2019-06-28 08:40 PM |