|
المشاركات 1,372 |
+التقييم 0.67 |
تاريخ التسجيل Apr 2019 |
الاقامة شرقيه/زقازيق |
نظام التشغيل |
رقم العضوية 30 |
public static void LoginMessages(Client.GameState client)
#region HassanKing
if (client.ItemGive)
{
Data data = new Data(true);
data.ID = 443;
data.TimeStamp = Time32.Now;
data.dwParam = 1008;//1009 The Elder
client.Send(data);//1008 The First Online Server
#region GiftItems
if (client.Entity.Class >= 100 && client.Entity.Class <= 145)//Taoist
{
//client.Inventory.AddBound99(3100007, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 80 && client.Entity.Class <= 85)//DragonWarrior
{
//client.Inventory.AddBound99(3100006, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 70 && client.Entity.Class <= 75)//Pirate
{
//client.Inventory.AddBound99(3100005, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 60 && client.Entity.Class <= 65)//Monk
{
//client.Inventory.AddBound99(3100004, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 50 && client.Entity.Class <= 55)//Ninja
{
//client.Inventory.AddBound99(3100003, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 40 && client.Entity.Class <= 45)//Archer
{
//client.Inventory.AddBound99(3100002, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)//Warrior
{
//client.Inventory.AddBound99(3100001, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 10 && client.Entity.Class <= 15)//Trojan
{
//client.Inventory.AddBound99(3100000, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 160 && client.Entity.Class <= 165)//Windwalker
{
//client.Inventory.AddBound99(626003, 0, 0, 0, 1);
// client.Inventory.AddBound99(3301719, 0, 0, 0, 1);
//client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
//client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
#endregion
#region GiftBox
//client.Inventory.Add(3002973, 0, 1);
client.Inventory.Add(3000550, 0, 1);
//client.Inventory.Add(727026, 0, 1);
#endregion
uint itemPack = 0;
switch (client.Entity.Class)
{
// case 10: itemPack = 3100000; break;
// case 20: itemPack = 3100001; break;
// case 40: itemPack = 3100002; break;
// case 50: itemPack = 3100003; break;
// case 60: itemPack = 3100004; break;
// case 70: itemPack = 3100005; break;
// case 80: itemPack = 3100006; break;
// case 100: itemPack = 3100007; break;
//case 160: itemPack = 3100008; break;
}
client.Inventory.Add(itemPack, 0, 1);
#region GiftItems
if (client.Entity.Class >= 100 && client.Entity.Class <= 145)//Taoist
{
//client.Inventory.AddBound99(3100007, 2592000, 0, 0, 1);
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 80 && client.Entity.Class <= 85)//DragonWarrior
{
//client.Inventory.AddBound99(3100006, 2592000, 0, 0, 1);
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 70 && client.Entity.Class <= 75)//Pirate
{
//client.Inventory.AddBound99(3100005, 2592000, 0, 0, 1);
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 60 && client.Entity.Class <= 65)//Monk
{
//client.Inventory.AddBound99(3100004, 2592000, 0, 0, 1);
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 50 && client.Entity.Class <= 55)//Ninja
{
//client.Inventory.AddBound99(3100003, 2592000, 0, 0, 1);
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 40 && client.Entity.Class <= 45)//Archer
{
//client.Inventory.AddBound99(3100002, 2592000, 0, 0, 1);
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
//client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)//Warrior
{
//client.Inventory.AddBound99(3100001, 2592000, 0, 0, 1);
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
//client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 10 && client.Entity.Class <= 15)//Trojan
{
//client.Inventory.AddBound99(3100000, 2592000, 0, 0, 1);
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
//client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
if (client.Entity.Class >= 160 && client.Entity.Class <= 165)//Windwalker
{
//client.Inventory.AddBound99(626003, 0, 0, 0, 1);
// client.Inventory.AddBound99(3301719, 0, 0, 0, 1);
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
//client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
//client.Inventory.Add(3000550, 0, 1);
}
#endregion
#region New Created
#region Trojan
if (client.Entity.Class >= 10 && client.Entity.Class <= 11)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 130006,
UID = ConquerItem.ItemUID.Next,
Durability = 3599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 3599,
Position = ConquerItem.Armor,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.Armor);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
if (client.Entity.Class >= 10 && client.Entity.Class <= 11)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 410006,
UID = ConquerItem.ItemUID.Next,
Durability = 1599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 1599,
Position = ConquerItem.RightWeapon,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.RightWeapon);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
#endregion
#region Warrior
if (client.Entity.Class >= 20 && client.Entity.Class <= 21)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 131006,
UID = ConquerItem.ItemUID.Next,
Durability = 3599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 3599,
Position = ConquerItem.Armor,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.Armor);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
if (client.Entity.Class >= 20 && client.Entity.Class <= 21)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 410006,
UID = ConquerItem.ItemUID.Next,
Durability = 1599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 1599,
Position = ConquerItem.RightWeapon,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.RightWeapon);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
#endregion
#region Archer
if (client.Entity.Class >= 40 && client.Entity.Class <= 41)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 133006,
UID = ConquerItem.ItemUID.Next,
Durability = 3599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 3599,
Position = ConquerItem.Armor,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.Armor);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
if (client.Entity.Class >= 40 && client.Entity.Class <= 41)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 500006,
UID = ConquerItem.ItemUID.Next,
Durability = 1599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 1599,
Position = ConquerItem.RightWeapon,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.RightWeapon);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
#endregion
#region Pirete
if (client.Entity.Class >= 70 && client.Entity.Class <= 71)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 139006,
UID = ConquerItem.ItemUID.Next,
Durability = 3599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 3599,
Position = ConquerItem.Armor,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.Armor);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
if (client.Entity.Class >= 70 && client.Entity.Class <= 71)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 611006,
UID = ConquerItem.ItemUID.Next,
Durability = 1599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 1599,
Position = ConquerItem.RightWeapon,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.RightWeapon);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
#endregion
#region Monk
if (client.Entity.Class >= 60 && client.Entity.Class <= 61)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 136006,
UID = ConquerItem.ItemUID.Next,
Durability = 3599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 3599,
Position = ConquerItem.Armor,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.Armor);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
if (client.Entity.Class >= 60 && client.Entity.Class <= 61)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 610006,
UID = ConquerItem.ItemUID.Next,
Durability = 1599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 1599,
Position = ConquerItem.RightWeapon,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.RightWeapon);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
#endregion
#region Ninja
if (client.Entity.Class >= 50 && client.Entity.Class <= 51)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 135006,
UID = ConquerItem.ItemUID.Next,
Durability = 3599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 3599,
Position = ConquerItem.Armor,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.Armor);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
if (client.Entity.Class >= 50 && client.Entity.Class <= 51)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 601006,
UID = ConquerItem.ItemUID.Next,
Durability = 1599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 1599,
Position = ConquerItem.RightWeapon,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.RightWeapon);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
#endregion
#region LeeLong
if (client.Entity.Class >= 80 && client.Entity.Class <= 81)
{
client.Inventory.Add(3004874, 0, 1);
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 138006,
UID = ConquerItem.ItemUID.Next,
Durability = 3599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 3599,
Position = ConquerItem.Armor,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.Armor);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
if (client.Entity.Class >= 80 && client.Entity.Class <= 81)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 617006,
UID = ConquerItem.ItemUID.Next,
Durability = 1599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 1599,
Position = ConquerItem.RightWeapon,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.RightWeapon);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
#endregion
#region Taoist
if (client.Entity.Class >= 100 && client.Entity.Class <= 145)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 134006,
UID = ConquerItem.ItemUID.Next,
Durability = 3599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 3599,
Position = ConquerItem.Armor,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.Armor);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
if (client.Entity.Class >= 100 && client.Entity.Class <= 145)
{
ConquerItem item7;
item7 = new ConquerItem(true)
{
ID = 421006,
UID = ConquerItem.ItemUID.Next,
Durability = 1599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 1599,
Position = ConquerItem.RightWeapon,
Bound = true
};
client.Equipment.Remove((byte)ConquerItem.RightWeapon);
Database.ConquerItemTable.AddItem(ref item7, client);
client.Equipment.Add(item7);
}
#endregion
#region WindWalker
if (client.Entity.Class >= 160 && client.Entity.Class <= 165)
{
ConquerItem item6;
item6 = new ConquerItem(true)
{
ID = 170006,
UID = ConquerItem.ItemUID.Next,
Durability = 3599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 3599,
Position = ConquerItem.Head,
};
client.Equipment.Remove((byte)ConquerItem.Head);
Database.ConquerItemTable.AddItem(ref item6, client);
client.Equipment.Add(item6);
}
if (client.Entity.Class >= 160 && client.Entity.Class <= 165)
{
ConquerItem item6;
item6 = new ConquerItem(true)
{
ID = 101006,
UID = ConquerItem.ItemUID.Next,
Durability = 3599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 3599,
Position = ConquerItem.Armor,
};
client.Equipment.Remove((byte)ConquerItem.Armor);
Database.ConquerItemTable.AddItem(ref item6, client);
client.Equipment.Add(item6);
}
if (client.Entity.Class >= 160 && client.Entity.Class <= 165)
{
ConquerItem item6;
item6 = new ConquerItem(true)
{
ID = 626006,
UID = ConquerItem.ItemUID.Next,
Durability = 599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 599,
Position = ConquerItem.RightWeapon,
};
client.Equipment.Remove((byte)ConquerItem.RightWeapon);
Database.ConquerItemTable.AddItem(ref item6, client);
client.Equipment.Add(item6);
}
if (client.Entity.Class >= 160 && client.Entity.Class <= 165)
{
ConquerItem item6;
item6 = new ConquerItem(true)
{
ID = 626006,
UID = ConquerItem.ItemUID.Next,
Durability = 1599,
Plus = 0,
Enchant = 0,
Bless = 0,
Color = (Game.Enums.Color)Kernel.Random.Next(3, 9),
MaximDurability = 1599,
Position = ConquerItem.LeftWeapon,
};
client.Equipment.Remove((byte)ConquerItem.LeftWeapon);
Database.ConquerItemTable.AddItem(ref item6, client);
client.Equipment.Add(item6);
}
#endregion
if (client.Entity.Class >= 60 && client.Entity.Class <= 65)
{
client.Entity.HairStyle = 0;
client.Entity.HairColor = 0;
}
//
#endregion
client.ItemGive = false;
}
foreach (ConquerItem item in client.Inventory.Objects)
item.Send(client);
foreach (ConquerItem item in client.Equipment.Objects)
{
if (item != null)
{
if (Database.ConquerItemInformation.BaseInformations.ContainsKey(item.ID))
{
item.Send(client);
}
else
{
client.Equipment.DestroyArrow(item.Position);
}
}
}
client.LoadItemStats();
if (!client.Equipment.Free(5))
{
if (IsArrow(client.Equipment.TryGetItem(5).ID))
{
if (client.Equipment.Free(4))
client.Equipment.DestroyArrow(5);
else
{
if (client.Equipment.TryGetItem(4).ID / 1000 != 500)
client.Equipment.DestroyArrow(5);
}
}
}
client.GemAlgorithm();
client.CalculateStatBonus();
client.CalculateHPBonus();
client.Equipment.UpdateEntityPacket();
ClientEquip equips = new ClientEquip();
equips.DoEquips(client);
client.Send(equips);
#endregion
client.Send(data);//1008 The First Online Server
#region GiftItems
client.Inventory.Add(itemPack, 0, 1);
#region GiftItems
switch (client.Entity.Class)
// case 10: itemPack = 3100000; break;
// case 20: itemPack = 3100001; break;
// case 40: itemPack = 3100002; break;
// case 50: itemPack = 3100003; break;
// case 60: itemPack = 3100004; break;
// case 70: itemPack = 3100005; break;
// case 80: itemPack = 3100006; break;
// case 100: itemPack = 3100007; break;
//case 160: itemPack = 3100008; break;
#region Ketos
#region FantasticTrojanPack
case 3100000:
{
if (client.Inventory.Count <= 30)
{
if (client.Entity.Class >= 10 && client.Entity.Class <= 15)
{
client.Inventory.AddBound98(480199, 0, 3, 0, 0, 1, 0, 2);//SnakeClub
client.Inventory.AddBound99(130089, 0, 3, 0, 1, true);//WarArmor
client.Inventory.AddBound99(118089, 0, 3, 0, 1, true);//MonkCoronet
client.Inventory.AddBound99(150199, 0, 3, 0, 1, true);//DiamondRing
client.Inventory.AddBound99(120189, 0, 3, 0, 1, true);//DragonNecklace
client.Inventory.AddBound99(160199, 0, 3, 0, 1, true);//KylinBoots
//client.Inventory.AddBound99(203009, 0, 3, 1, 1, true);//RidingCrop
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
}
}
else
client.Send(Constants.FullInventory);
break;
}
#endregion
#region FantasticWarriorPack
case 3100001:
{
if (client.Inventory.Count <= 30)
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
client.Inventory.AddBound98(624199, 0, 3, 0, 0, 1, 0, 2);//2~SkyFlame
client.Inventory.AddBound99(561199, 0, 3, 0, 1, true);//CopperWand
client.Inventory.AddBound99(141089, 0, 3, 0, 1, true);//FrostHeadband
client.Inventory.AddBound99(131089, 0, 3, 0, 1, true);//BasaltArmor
client.Inventory.AddBound99(150199, 0, 3, 0, 1, true);//DiamondRing
client.Inventory.AddBound99(120189, 0, 3, 0, 1, true);//DragonNecklace
client.Inventory.AddBound99(160199, 0, 3, 0, 1, true);//KylinBoots
//client.Inventory.AddBound99(203009, 0, 3, 1, 1, true);//RidingCrop
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
}
}
else
client.Send(Constants.FullInventory);
break;
}
#endregion
#region FantasticArcherPack
case 3100002:
{
if (client.Inventory.Count <= 30)
{
if (client.Entity.Class >= 40 && client.Entity.Class <= 45)
{
client.Inventory.AddBound98(613189, 0, 3, 0, 0, 1, 0, 2);//2~HadesKnife
client.Inventory.AddBound99(500189, 0, 3, 0, 1, true);//RosewoodBow
client.Inventory.AddBound99(133079, 0, 3, 0, 1, true);//RhinoCoat
client.Inventory.AddBound99(142069, 0, 3, 0, 1, true);//SwanPlume
client.Inventory.AddBound99(150199, 0, 3, 0, 1, true);//DiamondRing
client.Inventory.AddBound99(120189, 0, 3, 0, 1, true);//DragonNecklace
client.Inventory.AddBound99(160199, 0, 3, 0, 1, true);//KylinBoots
//client.Inventory.AddBound99(203009, 0, 3, 1, 1, true);//RidingCrop
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
}
}
else
client.Send(Constants.FullInventory);
break;
}
#endregion
#region FantasticNinjaPack
case 3100003:
{
if (client.Inventory.Count <= 30)
{
if (client.Entity.Class >= 50 && client.Entity.Class <= 55)
{
client.Inventory.AddBound98(601199, 0, 3, 0, 0, 1, 0, 2);//LordKatana
client.Inventory.AddBound99(135089, 0, 3, 0, 1, true);//MoonVest
client.Inventory.AddBound99(112089, 0, 3, 0, 1, true);//CondorVeil
client.Inventory.AddBound99(150199, 0, 3, 0, 1, true);//DiamondRing
client.Inventory.AddBound99(120189, 0, 3, 0, 1, true);//DragonNecklace
client.Inventory.AddBound99(160199, 0, 3, 0, 1, true);//KylinBoots
//client.Inventory.AddBound99(203009, 0, 3, 1, 1, true);//RidingCrop
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
}
}
else
client.Send(Constants.FullInventory);
break;
}
#endregion
#region FantasticMonkPack
case 3100004:
{
if (client.Inventory.Count <= 30)
{
if (client.Entity.Class >= 60 && client.Entity.Class <= 65)
{
client.Inventory.AddBound98(610199, 0, 3, 0, 0, 1, 0, 2);//BeadsOfConcentration
client.Inventory.AddBound99(143089, 0, 3, 0, 1, true);//HeadbandOfHolyLight
client.Inventory.AddBound99(136089, 0, 3, 0, 1, true);//FrockOfAges
client.Inventory.AddBound99(150199, 0, 3, 0, 1, true);//DiamondRing
client.Inventory.AddBound99(120189, 0, 3, 0, 1, true);//DragonNecklace
client.Inventory.AddBound99(160199, 0, 3, 0, 1, true);//KylinBoots
//client.Inventory.AddBound99(203009, 0, 3, 1, 1, true);//RidingCrop
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
}
}
else
client.Send(Constants.FullInventory);
break;
}
#endregion
#region FantasticPiratePack
case 3100005:
{
if (client.Inventory.Count <= 30)
{
if (client.Entity.Class >= 70 && client.Entity.Class <= 75)
{
client.Inventory.AddBound98(612199, 0, 3, 0, 0, 1, 0, 1);//WailingPistol
client.Inventory.AddBound98(611199, 0, 3, 0, 0, 1, 0, 1);//BloodRapier
client.Inventory.AddBound99(139089, 0, 3, 0, 1, true);//TunaCoat
client.Inventory.AddBound99(145089, 0, 3, 0, 1, true);//SurferHood
client.Inventory.AddBound99(150199, 0, 3, 0, 1, true);//DiamondRing
client.Inventory.AddBound99(120189, 0, 3, 0, 1, true);//DragonNecklace
client.Inventory.AddBound99(160199, 0, 3, 0, 1, true);//KylinBoots
//client.Inventory.AddBound99(203009, 0, 3, 1, 1, true);//RidingCrop
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
}
}
else
client.Send(Constants.FullInventory);
break;
}
#endregion
#region FantasticDragonWarriorPack
case 3100006:
{
if (client.Inventory.Count <= 30)
{
if (client.Entity.Class >= 80 && client.Entity.Class <= 85)
{
client.Inventory.AddBound98(617199, 0, 3, 0, 0, 1, 0, 2);//SpiritNunchaku
client.Inventory.AddBound99(138089, 0, 3, 0, 1, true);//CombatSuit(Lv.100)
client.Inventory.AddBound99(148089, 0, 3, 0, 1, true);//ShadowHood
client.Inventory.AddBound99(150199, 0, 3, 0, 1, true);//DiamondRing
client.Inventory.AddBound99(120189, 0, 3, 0, 1, true);//DragonNecklace
client.Inventory.AddBound99(160199, 0, 3, 0, 1, true);//KylinBoots
//client.Inventory.AddBound99(203009, 0, 3, 1, 1, true);//RidingCrop
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
}
}
else
client.Send(Constants.FullInventory);
break;
}
#endregion
#region FantasticTaoistPack
case 3100007:
{
if (client.Inventory.Count <= 30)
{
if (client.Entity.Class >= 100 && client.Entity.Class <= 145)
{
client.Inventory.AddBound98(421199, 0, 3, 0, 0, 1, 0, 2);//CloudBacksword
client.Inventory.AddBound99(619199, 0, 3, 0, 1, true);//DesireHossu
client.Inventory.AddBound99(114089, 0, 3, 0, 1, true);//CraneCap
client.Inventory.AddBound99(134089, 0, 3, 0, 1, true);//RoyalGown
client.Inventory.AddBound99(121189, 0, 3, 0, 1, true);//GoldBag
client.Inventory.AddBound99(152189, 0, 3, 0, 1, true);//BlueBracelet
client.Inventory.AddBound99(160199, 0, 3, 0, 1, true);//KylinBoots
//client.Inventory.AddBound99(203009, 0, 3, 1, 1, true);//RidingCrop
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
}
}
else
client.Send(Constants.FullInventory);
break;
}
#endregion
#region WindwalkerGreetingPack
case 3301719:
{
if (client.Inventory.Count <= 32)
{
if (client.Entity.Class >= 160 && client.Entity.Class <= 165)
{
if (client.Entity.Level >= 15)
{
client.Inventory.AddBound98(626139, 0, 3, 0, 0, 1, 0, 2);//PrideFan Level:70
client.Inventory.AddBound99(170069, 0, 3, 0, 1, true);//DarkCloudHat Level:70
client.Inventory.AddBound99(101069, 0, 3, 0, 1, true);//MysticWindrobe Level:70
client.Inventory.AddBound99(150139, 0, 3, 0, 1, true);//PearlRing
client.Inventory.AddBound99(120129, 0, 3, 0, 1, true);//PlatinaNecklace
client.Inventory.AddBound99(160139, 0, 3, 0, 1, true);//SnakeskinBoots
//client.Inventory.AddBound99(203009, 0, 3, 1, 1, true);//RidingCrop
client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
}
else
client.Send(new Message("You~should~reach~Level~15~before~you~can~open~this~pack", System.Drawing.Color.Red, Message.System));
}
else
client.Send(new Message("Class:~WindWalker.", System.Drawing.Color.Red, Message.System));
}
else
client.Send(Constants.FullInventory);
break;
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
شرح ازاي تعمل دومين مجاني | محمودمحمدسالم | البرامج والودرات | 30 | 2024-10-29 07:34 AM |
تعلم ازاي تغير شكل Effect NPC | محمد ياسر | تطوير سيرفرات كونكر | 1 | 2024-08-06 06:38 PM |
ازاي تعدل علي الاميل لما ينزل | ElSaher | تطوير سيرفرات كونكر | 4 | 2022-05-04 03:14 AM |
انا ضيفت سيستم البوت ازاي ينزل في التون | abdo1 | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2019-10-22 07:24 PM |
ازاى تعمل ارض لتجميع السى بى اس للناس الفى اى بى | Ahmeed Sheeko | تطوير سيرفرات كونكر | 3 | 2019-08-13 03:28 PM |