|
|
المشاركات 2,517 |
+التقييم 1.34 |
تاريخ التسجيل Jul 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 358 |
public void LoadItemStats()
{
if (Entity.bosskilleractivate == true)
Entity.bosskilleractivate = false;
if (Entity.nomercyactivate == true)
Entity.nomercyactivate = false;
if (Entity.witcheryactivate == true)
Entity.witcheryactivate = false;
client.Entity.AddFlower = reader.ReadUInt32("Flower");
client.Entity.bosskiller = reader.ReadUInt32("bosskiller");
client.Entity.nomercy = reader.ReadUInt32("nomercy");
client.Entity.freesoulbooster = reader.ReadUInt32("freesoulbooster");
client.Entity.witchery = reader.ReadUInt32("witchery");
.Set("Strength", e.Strength)
.Set("bosskiller", e.bosskiller)
.Set("nomercy", e.nomercy)
.Set("freesoulbooster", e.freesoulbooster)
.Set("witchery", e.witchery)
public static void UpdateLocation(Client.GameState client)
public static void Updatebosskiller(Client.GameState client)
{
UpdateData(client, "bosskiller", client.Entity.bosskiller);
}
public static void Updatenomercy(Client.GameState client)
{
UpdateData(client, "nomercy", client.Entity.nomercy);
}
public static void Updatefreesoulbooster(Client.GameState client)
{
UpdateData(client, "freesoulbooster", client.Entity.freesoulbooster);
}
public static void Updatewitchery(Client.GameState client)
{
UpdateData(client, "witchery", client.Entity.witchery);
}
public static void CheckDamage(
if (attacked.EntityFlag == EntityFlag.Monster)
if (attacked.MonsterInfo.Boss || attacked.Boss == 1)
if (magic)
{
Damage = (int)Damage * 10;
}
[PHP] #region boss killer
if (attacker.bosskiller == 1 && attacker.bosskilleractivate == false)
{
Damage = Damage * 220 / 100;
attacker.bosskilleractivate = true;
}
if (attacker.bosskiller == 2 && attacker.bosskilleractivate == false)
{
Damage = Damage * 230 / 100;
attacker.bosskilleractivate = true;
}
if (attacker.bosskiller == 3 && attacker.bosskilleractivate == false)
{
Damage = Damage * 240 / 100;
attacker.bosskilleractivate = true;
}
if (attacker.bosskiller == 4 && attacker.bosskilleractivate == false)
{
Damage = Damage * 250 / 100;
attacker.bosskilleractivate = true;
}
if (attacker.bosskiller == 5 && attacker.bosskilleractivate == false)
{
Damage = Damage * 260 / 100;
attacker.bosskilleractivate = true;
}
if (attacker.bosskiller == 6 && attacker.bosskilleractivate == false)
{
Damage = Damage * 270 / 100;
attacker.bosskilleractivate = true;
}
if (attacker.bosskiller == 7 && attacker.bosskilleractivate == false)
{
Damage = Damage * 280 / 100;
attacker.bosskilleractivate = true;
}
if (attacker.bosskiller == 8 && attacker.bosskilleractivate == false)
{
Damage = Damage * 290 / 100;
attacker.bosskilleractivate = true;
}
if (attacker.bosskiller == 9 && attacker.bosskilleractivate == false)
{
Damage = Damage * 300 / 100;
attacker.bosskilleractivate = true;
}
#endregion
if (!magic)
{
Damage = (int)Damage * 4;
}
public Equipment(
if (client.Entity.bosskilleractivate == true)
client.Entity.bosskilleractivate = false;
if (client.Entity.nomercyactivate == true)
client.Entity.nomercyactivate = false;
if (client.Entity.witcheryactivate == true)
client.Entity.witcheryactivate = false;
public uint Jail;
public uint bosskiller;
public uint nomercy;
public uint freesoulbooster;
public uint witchery;
public bool nomercyactivate = false;
public bool witcheryactivate = false;
public bool bosskilleractivate = false;
#region Rune
case 66667:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Welcome Mr:"+client.Entity.Name+" i am rune master can unequip your runes here");
if (client.Entity.bosskiller == 0 && client.Entity.nomercy == 0 && client.Entity.witchery == 0 && client.Entity.freesoulbooster ==0)
dialog.Text("it Seems like you do not equip any rune");
if (client.Entity.bosskiller >= 1 || client.Entity.nomercy >= 1 || client.Entity.witchery >= 1 || client.Entity.freesoulbooster >= 1)
dialog.Text("It seems you Equip ");
if (client.Entity.bosskiller >= 1)
dialog.Text(" BossKiller(+"+client.Entity.bosskiller+") ,");
if (client.Entity.nomercy >= 1)
dialog.Text(" NoMercy(+" + client.Entity.nomercy + ") ,");
if (client.Entity.witchery >= 1)
dialog.Text(" Witchery(+" + client.Entity.witchery + ") ,");
if (client.Entity.freesoulbooster >= 1)
dialog.Text(" FreeSoulBooster(+" + client.Entity.freesoulbooster + ") ,");
if (client.Entity.bosskiller >= 1 || client.Entity.nomercy >= 1 || client.Entity.witchery >= 1 || client.Entity.freesoulbooster >= 1)
dialog.Text("Please Select Rune You wanna unequip\n");
if (client.Entity.bosskiller >= 1)
dialog.Option("BossKiller.", 1);
if (client.Entity.nomercy >= 1)
dialog.Option("NoMercy.", 2);
if (client.Entity.witchery >= 1)
dialog.Option("Witchery.", 3);
if (client.Entity.freesoulbooster >= 1)
dialog.Option("FreeSoulBooster.", 4);
dialog.Option("No Thanks.", 255);
dialog.Send();
break;
}
case 4:
{
if (client.Entity.freesoulbooster == 1)
{
client.Inventory.Add100(4031201, 0, 1);
client.Entity.freesoulbooster = 0;
break;
}
else
if (client.Entity.freesoulbooster == 2)
{
client.Inventory.Add100(4031202, 0, 1);
client.Entity.freesoulbooster = 0;
break;
}
else
if (client.Entity.freesoulbooster == 3)
{
client.Inventory.Add100(4031203, 0, 1);
client.Entity.freesoulbooster = 0;
break;
}
else
if (client.Entity.freesoulbooster == 4)
{
client.Inventory.Add100(4031204, 0, 1);
client.Entity.freesoulbooster = 0;
break;
}
else
if (client.Entity.freesoulbooster == 5)
{
client.Inventory.Add100(4031205, 0, 1);
client.Entity.freesoulbooster = 0;
break;
}
else
if (client.Entity.freesoulbooster == 6){
client.Inventory.Add100(4031206, 0, 1);
client.Entity.freesoulbooster = 0;
break;
}
else
if (client.Entity.freesoulbooster == 7){
client.Inventory.Add100(4031207, 0, 1);
client.Entity.freesoulbooster = 0;
break;
}
else
if (client.Entity.freesoulbooster == 8){
client.Inventory.Add100(4031208, 0, 1);
client.Entity.freesoulbooster = 0;
break;
}
else
if (client.Entity.freesoulbooster == 9){
client.Inventory.Add100(4031209, 0, 1);
client.Entity.freesoulbooster = 0;
break;
}
break;
}
case 3:
{
if (client.Entity.witchery == 1)
{
client.Inventory.Add100(4031301, 0, 1);
client.Entity.witchery = 0;
client.Entity.witcheryactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.witchery == 2)
{
client.Inventory.Add100(4031302, 0, 1);
client.Entity.witchery = 0;
client.Entity.witcheryactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.witchery == 3)
{
client.Inventory.Add100(4031303, 0, 1);
client.Entity.witchery = 0;
client.Entity.witcheryactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.witchery == 4)
{
client.Inventory.Add100(4031304, 0, 1);
client.Entity.witchery = 0;
client.Entity.witcheryactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.witchery == 5)
{
client.Inventory.Add100(4031305, 0, 1);
client.Entity.witchery = 0;
client.Entity.witcheryactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.witchery == 6)
{
client.Inventory.Add100(4031306, 0, 1);
client.Entity.witchery = 0;
client.Entity.witcheryactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.witchery == 7)
{
client.Inventory.Add100(4031307, 0, 1);
client.Entity.witchery = 0;
client.Entity.witcheryactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.witchery == 8)
{
client.Inventory.Add100(4031308, 0, 1);
client.Entity.witchery = 0;
client.Entity.witcheryactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
}
else
if (client.Entity.witchery == 9)
{
client.Inventory.Add100(4031309, 0, 1);
client.Entity.witchery = 0;
client.Entity.witcheryactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
break;
}
case 2:
{
if (client.Entity.nomercy == 1)
{
client.Inventory.Add100(4031001, 0, 1);
client.Entity.nomercy = 0;
client.Entity.nomercyactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.nomercy == 2)
{
client.Inventory.Add100(4031002, 0, 1);
client.Entity.nomercy = 0;
client.Entity.nomercyactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.nomercy == 3)
{
client.Inventory.Add100(4031003, 0, 1);
client.Entity.nomercy = 0;
client.Entity.nomercyactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.nomercy == 4)
{
client.Inventory.Add100(4031004, 0, 1);
client.Entity.nomercy = 0;
client.Entity.nomercyactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.nomercy == 5)
{
client.Inventory.Add100(4031005, 0, 1);
client.Entity.nomercy = 0;
client.Entity.nomercyactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.nomercy == 6)
{
client.Inventory.Add100(4031006, 0, 1);
client.Entity.nomercy = 0;
client.Entity.nomercyactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.nomercy == 7)
{
client.Inventory.Add100(4031007, 0, 1);
client.Entity.nomercy = 0;
client.Entity.nomercyactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.nomercy == 8)
{
client.Inventory.Add100(4031008, 0, 1);
client.Entity.nomercy = 0;
client.Entity.nomercyactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.nomercy == 9)
{
client.Inventory.Add100(4031009, 0, 1);
client.Entity.nomercy = 0;
client.Entity.nomercyactivate = false;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
break;
}
case 1:
{
if (client.Entity.bosskiller == 1)
{
client.Inventory.Add100(4030901,0, 1);
client.Entity.bosskiller = 0;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.bosskiller == 2)
{
client.Inventory.Add100(4030902, 0, 1);
client.Entity.bosskiller = 0;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.bosskiller == 3)
{
client.Inventory.Add100(4030903, 0, 1);
client.Entity.bosskiller = 0;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.bosskiller == 4)
{
client.Inventory.Add100(4030904, 0, 1);
client.Entity.bosskiller = 0;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.bosskiller == 5)
{
client.Inventory.Add100(4030905, 0, 1);
client.Entity.bosskiller = 0;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.bosskiller == 6)
{
client.Inventory.Add100(4030906, 0, 1);
client.Entity.bosskiller = 0;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.bosskiller == 7)
{
client.Inventory.Add100(4030907, 0, 1);
client.Entity.bosskiller = 0;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.bosskiller == 8)
{
client.Inventory.Add100(4030908, 0, 1);
client.Entity.bosskiller = 0;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
else
if (client.Entity.bosskiller == 9)
{
client.Inventory.Add100(4030909, 0, 1);
client.Entity.bosskiller = 0;
client.LoadItemStats();
client.Equipment.UpdateEntityPacket();
break;
}
break;
}
}
break;
}
#endregion
case 723723:
#region Runes
#region bosskiller
#region bosskiller1
case 4030901:
{
if (client.Entity.bosskiller == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.bosskiller = 1;
}
else
client.MessageBox("You already Equip Boss Killer Level " + client.Entity.bosskiller + " unequip it first from npc");
break;
}
#endregion
#region bosskiller2
case 4030902:
{
if (client.Entity.bosskiller == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.bosskiller = 2;
}
else
client.MessageBox("You already Equip Boss Killer Level " + client.Entity.bosskiller + " unequip it first from npc");
break;
}
#endregion
#region bosskiller3
case 4030903:
{
if (client.Entity.bosskiller == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.bosskiller = 3;
}
else
client.MessageBox("You already Equip Boss Killer Level " + client.Entity.bosskiller + " unequip it first from npc");
break;
}
#endregion
#region bosskiller4
case 4030904:
{
if (client.Entity.bosskiller == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.bosskiller = 4;
}
else
client.MessageBox("You already Equip Boss Killer Level " + client.Entity.bosskiller + " unequip it first from npc");
break;
}
#endregion
#region bosskiller5
case 4030905:
{
if (client.Entity.bosskiller == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.bosskiller = 5;
}
else
client.MessageBox("You already Equip Boss Killer Level " + client.Entity.bosskiller + " unequip it first from npc");
break;
}
#endregion
#region bosskiller6
case 4030906:
{
if (client.Entity.bosskiller == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.bosskiller = 6;
}
else
client.MessageBox("You already Equip Boss Killer Level " + client.Entity.bosskiller + " unequip it first from npc");
break;
}
#endregion
#region bosskiller7
case 4030907:
{
if (client.Entity.bosskiller == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.bosskiller = 7;
}
else
client.MessageBox("You already Equip Boss Killer Level " + client.Entity.bosskiller + " unequip it first from npc");
break;
}
#endregion
#region bosskiller8
case 4030908:
{
if (client.Entity.bosskiller == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.bosskiller = 8;
}
else
client.MessageBox("You already Equip Boss Killer Level " + client.Entity.bosskiller + " unequip it first from npc");
break;
}
#endregion
#region bosskiller9
case 4030909:
{
if (client.Entity.bosskiller == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.bosskiller = 9;
}
else
client.MessageBox("You already Equip Boss Killer Level " + client.Entity.bosskiller + " unequip it first from npc");
break;
}
#endregion
#endregion
#region nomercy
#region nomercy1
case 4031001:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.nomercy = 1;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region nomercy2
case 4031002:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.nomercy = 2;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region nomercy3
case 4031003:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.nomercy = 3;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region nomercy4
case 4031004:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.nomercy = 4;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region nomercy5
case 4031005:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.nomercy = 5;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region nomercy6
case 4031006:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.nomercy = 6;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region nomercy7
case 4031007:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.nomercy = 7;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region nomercy8
case 4031008:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.nomercy = 8;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region nomercy9
case 4031009:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.nomercy = 9;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#endregion
#region freesoulbooster
#region freesoulbooster1
case 4031201:
{
if (client.Entity.freesoulbooster == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.freesoulbooster = 1;
}
else
client.MessageBox("You already Equip Free Soul Booster Level " + client.Entity.freesoulbooster + " unequip it first from npc");
break;
}
#endregion
#region freesoulbooster2
case 4031202:
{
if (client.Entity.freesoulbooster == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.freesoulbooster = 2;
}
else
client.MessageBox("You already Equip Free Soul Booster Level " + client.Entity.freesoulbooster + " unequip it first from npc");
break;
}
#endregion
#region freesoulbooster3
case 4031203:
{
if (client.Entity.freesoulbooster == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.freesoulbooster = 3;
}
else
client.MessageBox("You already Equip Free Soul Booster Level " + client.Entity.freesoulbooster + " unequip it first from npc");
break;
}
#endregion
#region freesoulbooster4
case 4031204:
{
if (client.Entity.freesoulbooster == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.freesoulbooster = 4;
}
else
client.MessageBox("You already Equip Free Soul Booster Level " + client.Entity.freesoulbooster + " unequip it first from npc");
break;
}
#endregion
#region freesoulbooster5
case 4031205:
{
if (client.Entity.freesoulbooster == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.freesoulbooster = 5;
}
else
client.MessageBox("You already Equip Free Soul Booster Level " + client.Entity.freesoulbooster + " unequip it first from npc");
break;
}
#endregion
#region freesoulbooster6
case 4031206:
{
if (client.Entity.freesoulbooster == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.freesoulbooster = 6;
}
else
client.MessageBox("You already Equip Free Soul Booster Level " + client.Entity.freesoulbooster + " unequip it first from npc");
break;
}
#endregion
#region freesoulbooster7
case 4031207:
{
if (client.Entity.freesoulbooster == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.freesoulbooster = 7;
}
else
client.MessageBox("You already Equip Free Soul Booster Level " + client.Entity.freesoulbooster + " unequip it first from npc");
break;
}
#endregion
#region freesoulbooster8
case 4031208:
{
if (client.Entity.freesoulbooster == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.freesoulbooster = 8;
}
else
client.MessageBox("You already Equip Free Soul Booster Level " + client.Entity.freesoulbooster + " unequip it first from npc");
break;
}
#endregion
#region freesoulbooster9
case 4031209:
{
if (client.Entity.freesoulbooster == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.freesoulbooster = 9;
}
else
client.MessageBox("You already Equip Free Soul Booster Level " + client.Entity.freesoulbooster + " unequip it first from npc");
break;
}
#endregion
#endregion
#region witchery
#region witchery1
case 4031301:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.witchery = 1;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region witchery2
case 4031302:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.witchery = 2;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region witchery3
case 4031303:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.witchery = 3;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region witchery4
case 4031304:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.witchery = 4;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region witchery5
case 4031305:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.witchery = 5;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region witchery6
case 4031306:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.witchery = 6;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region witchery7
case 4031307:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.witchery = 7;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region witchery8
case 4031308:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.witchery = 8;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#region witchery9
case 4031309:
{
if (client.Entity.nomercy == 0 && client.Entity.witchery == 0)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
client.Entity.witchery = 9;
}
else
if (client.Entity.nomercy > 0)
client.MessageBox("You already Equip No Mercy Level " + client.Entity.nomercy + " unequip it first from npc");
if (client.Entity.witchery > 0)
client.MessageBox("You already Equip Witchery Level " + client.Entity.witchery + " unequip it first from npc");
break;
}
#endregion
#endregion
#endregion
public static void CheckDamage(
#region DragonSwing
#region Nobility Damage
#region no mersy
if (attacker.nomercy == 1 && attacker.nomercyactivate == false)
{
if (attacker.MinAttack <= 17000 && attacker.MaxAttack <= 17000)
{
attacker.MinAttack += 5000;
attacker.MaxAttack += 5000;
attacker.nomercyactivate = true;
}
}
else
if (attacker.nomercy == 2 && attacker.nomercyactivate == false)
{
if (attacker.MinAttack <= 16500 && attacker.MaxAttack <= 16500)
{
attacker.MinAttack += 5500;
attacker.MaxAttack += 5500;
attacker.nomercyactivate = true;
}
}
else
if (attacker.nomercy == 3 && attacker.nomercyactivate == false)
{
if (attacker.MinAttack <= 16000 && attacker.MaxAttack <= 16000)
{
attacker.MinAttack += 6000;
attacker.MaxAttack += 6000;
attacker.nomercyactivate = true;
}
}
else
if (attacker.nomercy == 4 && attacker.nomercyactivate == false)
{
if (attacker.MinAttack <= 15500 && attacker.MaxAttack <= 15500)
{
attacker.MinAttack += 6500;
attacker.MaxAttack += 6500;
attacker.nomercyactivate = true;
}
}
else
if (attacker.nomercy == 5 && attacker.nomercyactivate == false)
{
if (attacker.MinAttack <= 15000 && attacker.MaxAttack <= 15000)
{
attacker.MinAttack += 7000;
attacker.MaxAttack += 7000;
attacker.nomercyactivate = true;
}
}
else
if (attacker.nomercy == 6 && attacker.nomercyactivate == false)
{
if ( attacker.MinAttack <= 14500 && attacker.MaxAttack <= 14500 )
{
attacker.MinAttack += 7500;
attacker.MaxAttack += 7500;
attacker.nomercyactivate = true;
}
}
else
if (attacker.nomercy == 7 && attacker.nomercyactivate == false)
{
if( attacker.MinAttack <= 14000 && attacker.MaxAttack <= 14000 )
{
attacker.MinAttack += 8000;
attacker.MaxAttack += 8000;
attacker.nomercyactivate = true;
}
}
else
if (attacker.nomercy == 8 && attacker.nomercyactivate == false)
{
if( attacker.MinAttack <= 13000 && attacker.MaxAttack <= 13000 )
{
attacker.MinAttack += 9000;
attacker.MaxAttack += 9000;
attacker.nomercyactivate = true;
}
}
else
if (attacker.nomercy == 9 && attacker.nomercyactivate == false)
{
if( attacker.MinAttack <= 12000 && attacker.MaxAttack <= 12000)
{
attacker.MinAttack += 10000;
attacker.MaxAttack += 10000;
attacker.nomercyactivate = true;
}
}
#endregion
#region Witchy
if (attacker.witchery == 1 && attacker.witcheryactivate == false)
{
if( attacker.MagicAttack <= 13000 )
{
attacker.MagicAttack += 2000;
attacker.witcheryactivate = true;
}
}
if (attacker.witchery == 2 && attacker.witcheryactivate == false)
{
if( attacker.MagicAttack <= 12700)
{
attacker.MagicAttack += 2300;
attacker.witcheryactivate = true;
}
}
if (attacker.witchery == 3 && attacker.witcheryactivate == false)
{
if (attacker.MagicAttack <= 12400)
{
attacker.MagicAttack += 2600;
attacker.witcheryactivate = true;
}
}
if (attacker.witchery == 4 && attacker.witcheryactivate == false)
{
if (attacker.MagicAttack <= 12000)
{
attacker.MagicAttack += 3000;
attacker.witcheryactivate = true;
}
}
if (attacker.witchery == 5 && attacker.witcheryactivate == false)
{
if (attacker.MagicAttack <= 11500)
{
attacker.MagicAttack += 3500;
attacker.witcheryactivate = true;
}
}
if (attacker.witchery == 6 && attacker.witcheryactivate == false)
{
if (attacker.MagicAttack <= 11000)
{
attacker.MagicAttack += 4000;
attacker.witcheryactivate = true;
}
}
if (attacker.witchery == 7 && attacker.witcheryactivate == false)
{
if (attacker.MagicAttack <= 10500)
{
attacker.MagicAttack += 4500;
attacker.witcheryactivate = true;
}
}
if (attacker.witchery == 8 && attacker.witcheryactivate == false)
{
if (attacker.MagicAttack <= 10000)
{
attacker.MagicAttack += 5000;
attacker.witcheryactivate = true;
}
}
if (attacker.witchery == 9 && attacker.witcheryactivate == false)
{
if (attacker.MagicAttack <= 9000)
{
attacker.MagicAttack += 6000;
attacker.witcheryactivate = true;
}
}
#endregion
4030901@@BossKiller(+1)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4030901@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Boss Killer skill. Passive: Increase the damage to boss by 220%.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4030902@@BossKiller(+2)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4030902@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Boss Killer skill. Passive: Increase the damage to boss by 230%.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4030903@@BossKiller(+3)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4030903@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Boss Killer skill. Passive: Increase the damage to boss by 240%.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4030904@@BossKiller(+4)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4030904@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Boss Killer skill. Passive: Increase the damage to boss by 250%.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4030905@@BossKiller(+5)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4030905@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Boss Killer skill. Passive: Increase the damage to boss by 260%.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4030906@@BossKiller(+6)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4030906@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Boss Killer skill. Passive: Increase the damage to boss by 270%.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4030907@@BossKiller(+7)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4030907@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Boss Killer skill. Passive: Increase the damage to boss by 280%.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4030908@@BossKiller(+8)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4030908@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Boss Killer skill. Passive: Increase the damage to boss by 290%.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4030909@@BossKiller(+9)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4030909@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Boss Killer skill. Passive: Increase the damage to boss by 300%.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031001@@NoMercy(+1)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031001@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Physical Damage is lower than 22000 points, up to 5000 points of Physical Damage will be added, but the Final Physical Damage won`t be more than 22000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031002@@NoMercy(+2)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031002@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Physical Damage is lower than 22000 points, up to 5500 points of Physical Damage will be added, but the Final Physical Damage won`t be more than 22000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031003@@NoMercy(+3)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031003@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Physical Damage is lower than 22000 points, up to 6000 points of Physical Damage will be added, but the Final Physical Damage won`t be more than 22000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031004@@NoMercy(+4)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031004@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Physical Damage is lower than 22000 points, up to 6500 points of Physical Damage will be added, but the Final Physical Damage won`t be more than 22000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031005@@NoMercy(+5)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031005@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Physical Damage is lower than 22000 points, up to 7000 points of Physical Damage will be added, but the Final Physical Damage won`t be more than 22000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031006@@NoMercy(+6)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031006@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Physical Damage is lower than 22000 points, up to 7500 points of Physical Damage will be added, but the Final Physical Damage won`t be more than 22000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031007@@NoMercy(+7)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031007@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Physical Damage is lower than 22000 points, up to 8000 points of Physical Damage will be added, but the Final Physical Damage won`t be more than 22000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031008@@NoMercy(+8)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031008@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Physical Damage is lower than 22000 points, up to 9000 points of Physical Damage will be added, but the Final Physical Damage won`t be more than 22000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031009@@NoMercy(+9)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031009@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Physical Damage is lower than 22000 points, up to 10000 points of Physical Damage will be added, but the Final Physical Damage won`t be more than 22000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031201@@FreeSoulBooster(+1)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031201@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Free Soul Booster skill. Passive: Increase Free Soul by 1 level.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031202@@FreeSoulBooster(+2)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031202@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Free Soul Booster skill. Passive: Increase Free Soul by 2 levels.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031203@@FreeSoulBooster(+3)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031203@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Free Soul Booster skill. Passive: Increase Free Soul by 3 levels.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031204@@FreeSoulBooster(+4)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031204@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Free Soul Booster skill. Passive: Increase Free Soul by 4 levels.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031205@@FreeSoulBooster(+5)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031205@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Free Soul Booster skill. Passive: Increase Free Soul by 5 levels.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031206@@FreeSoulBooster(+6)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031206@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Free Soul Booster skill. Passive: Increase Free Soul by 6 levels.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031207@@FreeSoulBooster(+7)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031207@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Free Soul Booster skill. Passive: Increase Free Soul by 7 levels.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031208@@FreeSoulBooster(+8)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031208@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Free Soul Booster skill. Passive: Increase Free Soul by 8 levels.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031209@@FreeSoulBooster(+9)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031209@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Equip to get Free Soul Booster skill. Passive: Increase Free Soul by 9 levels.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031301@@Witchery(+1)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031301@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Magic Damage is lower than 15000 points, up to 2000 points of extra Magic Damage will be added, but the Final Magic Damage will not be more than 15000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031302@@Witchery(+2)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031302@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Magic Damage is lower than 15000 points, up to 2300 points of extra Magic Damage will be added, but the Final Magic Damage will not be more than 15000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031303@@Witchery(+3)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031303@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Magic Damage is lower than 15000 points, up to 2600 points of extra Magic Damage will be added, but the Final Magic Damage will not be more than 15000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031304@@Witchery(+4)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031304@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Magic Damage is lower than 15000 points, up to 3000 points of extra Magic Damage will be added, but the Final Magic Damage will not be more than 15000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031305@@Witchery(+5)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031305@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Magic Damage is lower than 15000 points, up to 3500 points of extra Magic Damage will be added, but the Final Magic Damage will not be more than 15000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031306@@Witchery(+6)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031306@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Magic Damage is lower than 15000 points, up to 4000 points of extra Magic Damage will be added, but the Final Magic Damage will not be more than 15000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031307@@Witchery(+7)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031307@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Magic Damage is lower than 15000 points, up to 4500 points of extra Magic Damage will be added, but the Final Magic Damage will not be more than 15000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031308@@Witchery(+8)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031308@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Magic Damage is lower than 15000 points, up to 5000 points of extra Magic Damage will be added, but the Final Magic Damage will not be more than 15000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
4031309@@Witchery(+9)@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@4031309@@1@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@YellowRune@@Universal Rune. Passive: When the Magic Damage is lower than 15000 points, up to 6000 points of extra Magic Damage will be added, but the Final Magic Damage will not be more than 15000 points.@@0@@0@@0@@0@@16020@@500@@0@@0@@0@@0@@23@@
public bool Add100(uint id, byte plus, byte times, bool bound = false)
{
try
{
Database.ConquerItemInformation infos = new Database.ConquerItemInformation(id, plus);
while (times > 0)
{
ConquerItem _ExistingItem;
Database.ConquerItemInformation iteminfo = new Database.ConquerItemInformation(id, 0);
if (Owner.Inventory.Contains(iteminfo.BaseInformation.ID, bound, iteminfo.BaseInformation.StackSize, out _ExistingItem))
{
if (_ExistingItem.StackSize == 0)
_ExistingItem.StackSize = 1;
ushort _StackCount = iteminfo.BaseInformation.StackSize;
_StackCount -= (ushort)_ExistingItem.StackSize;
if (_StackCount >= 1)
_StackCount += 1;
_ExistingItem.StackSize += 1;
Database.ConquerItemTable.UpdateStack(_ExistingItem);
_ExistingItem.Mode = Game.Enums.ItemMode.Update;
_ExistingItem.Send(Owner);
_ExistingItem.Mode = Game.Enums.ItemMode.Default;
}
else
{
if (Count <= 39)
{
ConquerItem item = new Network.GamePackets.ConquerItem(true);
item.ID = id;
item.Plus = plus;
item.Bound = bound;
item.Durability = item.MaximDurability = infos.BaseInformation.Durability;
item.StackSize = 1;
item.MaxStackSize = infos.BaseInformation.StackSize;
Add(item, Enums.ItemUse.CreateAndAdd);
}
}
times--;
}
}
catch (Exception e)
{
Program.SaveException(e);
}
return true;
}
[booth12]
ID=70014
Name=Runes
Mesh=3336
Map=4505
Type=0
X=41
Y=68
ItemAmount=37
Item1=4031301@@10000000@@0@@0@0@0@0
Item2=4031302@@11000000@@0@@0@0@0@0
Item3=4031303@@12000000@@0@@0@0@0@0
Item4=4031304@@13000000@@0@@0@0@0@0
Item5=4031305@@14000000@@0@@0@0@0@0
Item6=4031306@@15000000@@0@@0@0@0@0
Item7=4031307@@16000000@@0@@0@0@0@0
Item8=4031308@@17000000@@0@@0@0@0@0
Item9=4031309@@20000000@@0@@0@0@0@0
Item10=4030901@@10000000@@0@@0@0@0@0
Item11=4030902@@11000000@@0@@0@0@0@0
Item12=4030903@@12000000@@0@@0@0@0@0
Item13=4030904@@13000000@@0@@0@0@0@0
Item14=4030905@@14000000@@0@@0@0@0@0
Item15=4030906@@15000000@@0@@0@0@0@0
Item16=4030907@@16000000@@0@@0@0@0@0
Item17=4030908@@17000000@@0@@0@0@0@0
Item18=4030909@@20000000@@0@@0@0@0@0
Item19=4031001@@10000000@@0@@0@0@0@0
Item20=4031002@@11000000@@0@@0@0@0@0
Item21=4031003@@12000000@@0@@0@0@0@0
Item22=4031004@@13000000@@0@@0@0@0@0
Item23=4031005@@14000000@@0@@0@0@0@0
Item24=4031006@@15000000@@0@@0@0@0@0
Item25=4031007@@16000000@@0@@0@0@0@0
Item26=4031008@@17000000@@0@@0@0@0@0
Item27=4031009@@20000000@@0@@0@0@0@0
Item28=4031201@@10000000@@0@@0@0@0@0
Item29=4031202@@11000000@@0@@0@0@0@0
Item30=4031203@@12000000@@0@@0@0@0@0
Item31=4031204@@13000000@@0@@0@0@0@0
Item32=4031205@@14000000@@0@@0@0@0@0
Item33=4031206@@15000000@@0@@0@0@0@0
Item34=4031207@@16000000@@0@@0@0@0@0
Item35=4031208@@17000000@@0@@0@0@0@0
Item36=4031209@@20000000@@0@@0@0@0@0
|
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
Source Rayzo V3 بعد حل شوية مشاكل | xAttack | سورسات كونكر | 91 | 2024-08-17 05:32 PM |
شوية حمايات كدا كويس ليكو | MohamedModyAdel | تطوير سيرفرات كونكر | 140 | 2024-08-15 11:48 PM |
>[شوية انبيسهات للسيرفرات الصعبه]< | 7amoStarHell | تطوير سيرفرات كونكر | 5 | 2023-10-09 08:54 PM |
شوية كويستات كدة قديمة بس ملهاش حل | انت عمري | قسم الاقتراحات والابداع | 4 | 2022-04-17 03:32 AM |
ارينا روم خاصه بي Rider هديه مني ليكو <3 | Hassan Emprator | تطوير سيرفرات كونكر | 1 | 2020-02-15 04:21 PM |