مشاهدة النسخة كاملة : ممكن npc innerpower
abdocoder
2020-05-02, 05:13 AM
كنت محتاج انبسى يعمل الانير بور مرة واحدة زى انبسى الصب كلاسس كده مش لازم يعنى اشترى نقط وايتمز علشان اعمله
لو ف انبسى اضعط ضغطه واحدة يعملى الانير بور فل هيبقى عملتوا فيها جميل عمرى ما هنساه
وشكرا مقدما لكل اللى هيساعد
ElSaher
2020-05-02, 05:29 AM
اها يصطي اتفضل اهو
#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
ElSaher
2020-05-02, 05:53 AM
جرب كدا لو مش نفع
#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
abdocoder
2020-05-02, 04:05 PM
جرب كدا لو مش نفع
#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
مع الاسف ال2 مش شغالين
Hassan Emprator
2020-05-02, 10:44 PM
مع الاسف ال2 مش شغالين
ازاي مش شغالين اي بيحصلهم يعني ؟
vBulletin® v3.8.8 Beta 1, Copyright ©2000-2024, TranZ by code