|
المشاركات 143 |
+التقييم 0.07 |
تاريخ التسجيل Jul 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 520 |
#region InnerPower By Mr.ElSaher
case 785410:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("im Selling InnerPower Items and InnePower System Full By BlackBlock-Co");
dialog.Option("Buy Full InnerPower", 1);
dialog.Option("I will come later. ", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Player.ConquerPoints >= 1000)
{
client.Player.ConquerPoints -= 1000;
Database.InnerPowerTable.Stage DBStage = null;
foreach (var m_stage in client.Player.InnerPower.Stages)
{
foreach (var m_gong in m_stage.NeiGongs)
{
m_stage.UnLocked = m_gong.Unlocked = true;
m_gong.Score = 100;
Database.InnerPowerTable.Stage.NeiGong DBGong = null;
if (Database.InnerPowerTable.GetDBInfo(m_gong.ID, out DBStage, out DBGong))
m_gong.level = DBGong.MaxLevel;
}
}
client.Player.InnerPower.UpdateStatus();
client.LoadItemStats();
InnerPower.InnerPowerRank.UpdateRank(client.Player.InnerPower);
}
else
{
dialog.Text("You do not have 1000 ConquerPoints with you.");
dialog.Option("Ok, will come later. ", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region InnerPower Full
case 785410:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("im Selling InnerPower Items and InnePower System Full By XFire");
dialog.Option("Buy Full InnerPower", 1);
dialog.Option("I will come later. ", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Player.ConquerPoints >= 1)
{
client.Player.ConquerPoints -= 1;
Database.InnerPowerTable.Stage DBStage = null;
foreach (var m_stage in client.Player.InnerPower.Stages)
{
foreach (var m_gong in m_stage.NeiGongs)
{
m_stage.UnLocked = m_gong.Unlocked = true;
m_gong.Score = 100;
Database.InnerPowerTable.Stage.NeiGong DBGong = null;
if (Database.InnerPowerTable.GetDBInfo(m_gong.ID, out DBStage, out DBGong))
m_gong.level = DBGong.MaxLevel;
}
}
client.Player.InnerPower.UpdateStatus();
client.LoadItemStats();
//InnerPower.InnerPowerRank.UpdateRank(client.Player.InnerPower);
}
else
{
dialog.Text("You do not have 1000 ConquerPoints with you.");
dialog.Option("Ok, will come later. ", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region innerpower full
case 785410:
{
switch (npcrequest.optionid)
{
case 0:
{
dialog.text("im selling innerpower items and innepower system full by xfire");
dialog.option("buy full innerpower", 1);
dialog.option("i will come later. ", 255);
dialog.send();
break;
}
case 1:
{
if (client.player.conquerpoints >= 1)
{
client.player.conquerpoints -= 1;
database.innerpowertable.stage dbstage = null;
foreach (var m_stage in client.player.innerpower.stages)
{
foreach (var m_gong in m_stage.neigongs)
{
m_stage.unlocked = m_gong.unlocked = true;
m_gong.score = 100;
database.innerpowertable.stage.neigong dbgong = null;
if (database.innerpowertable.getdbinfo(m_gong.id, out dbstage, out dbgong))
m_gong.level = dbgong.maxlevel;
}
}
client.player.innerpower.updatestatus();
client.loaditemstats();
//innerpower.innerpowerrank.updaterank(client.player.innerpower);
}
else
{
dialog.text("you do not have 1000 conquerpoints with you.");
dialog.option("ok, will come later. ", 255);
dialog.send();
}
break;
}
}
break;
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
ممكن طلب | FathyFranco | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-03-09 02:27 PM |
ممكن حل | 469fb2a7c3 | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2019-12-11 02:17 AM |
ممكن مساعده | AliNasser | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-11-21 09:48 AM |
ممكن طلب | loveosama | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2019-09-10 02:10 AM |
انبي سي innerPower | Hassan Emprator | تطوير سيرفرات كونكر | 3 | 2019-07-21 08:07 AM |