|
public static void LoginMessages(Client.GameState client)
#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
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
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;
}
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
حل لو سمحتو للمشكله دى | ابو مروان | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2020-05-16 02:44 AM |
لو سمحتو ارجو الاستجابه | 7amoStarHell | سورسات كونكر | 2 | 2020-02-28 12:17 PM |
طلب npc لو سمحتو | amosha | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-10-06 08:52 AM |
ارجوكم مساعدة لو سمحتو | ToRWadA | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2019-09-15 05:35 PM |
محتاج حد يعملى كود لو سمحتو | ابو مروان | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2019-09-08 01:24 PM |