MohamedModyAdel
2019-07-14, 05:58 PM
خش علي كلاس GameClient.GameState
ابحث عن
private void loadItemStats(ConquerItem item)
هتحبث عن
#region Give Stats.
فوق
#region soul stats
حط دا
#region Garment
if (position == ConquerItem.Garment)
{
if (item.ID == 188925)
{
Entity.CriticalStrike += 100;
Entity.SkillCStrike += 100;
Entity.Immunity += 100;
}
else if (item.ID == 187425)
{
Entity.BaseDefence += 400;
Entity.BaseMagicDefence += 2;
}
else if (item.ID == 187415)
{
Entity.BaseDefence += 600;
Entity.BaseMagicDefence += 3;
}
else if (item.ID == 187405)
{
Entity.BaseDefence += 800;
Entity.BaseMagicDefence += 4;
}
else if (item.ID == 188935)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 188945)
{
Entity.CriticalStrike += 300;
Entity.SkillCStrike += 300;
Entity.Immunity += 300;
}
else if (item.ID == 188955)
{
Entity.CriticalStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 192745)
{
Entity.CriticalStrike += 100;
Entity.SkillCStrike += 100;
Entity.Immunity += 100;
}
else if (item.ID == 192755)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 192765)
{
Entity.CriticalStrike += 300;
Entity.SkillCStrike += 300;
Entity.Immunity += 300;
}
else if (item.ID == 192775)
{
Entity.CriticalStrike += 400;
Entity.SkillCStrike += 400;
Entity.Immunity += 400;
}
else if (item.ID == 192805)
{
Entity.CriticalStrike += 100;
Entity.Immunity += 100;
}
else if (item.ID == 192815)
{
Entity.CriticalStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 192825)
{
Entity.CriticalStrike += 300;
Entity.Immunity += 300;
}
else if (item.ID == 192935)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 192925)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 192895)
{
Entity.CriticalStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 188845)
{
Entity.CriticalStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 188755)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
}
else if (item.ID == 188515)
{
Entity.CriticalStrike += 400;
Entity.SkillCStrike += 400;
Entity.Immunity += 400;
}
else if (item.ID == 187875)
{
Entity.CriticalStrike += 100;
}
else if (item.ID == 187885)
{
Entity.SkillCStrike += 100;
}
else if (item.ID == 187865)
{
Entity.SkillCStrike += 200;
}
else if (item.ID == 187855)
{
Entity.CriticalStrike += 200;
}
else if (item.ID == 187795)
{
Entity.CriticalStrike += 300;
Entity.SkillCStrike += 300;
Entity.Immunity += 300;
}
else if (item.ID == 187785)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 187775)
{
Entity.CriticalStrike += 100;
Entity.SkillCStrike += 100;
Entity.Immunity += 100;
}
}
#endregion
#region MountArmor
if (position == ConquerItem.SteedArmor)
{
if (item.ID == 200221)
{
Entity.CriticalStrike += 300;
Entity.SkillCStrike += 300;
Entity.Immunity += 300;
}
else if (item.ID == 200480)
{
Entity.CriticalStrike = 200;
Entity.SkillCStrike = 200;
Entity.Immunity = 200;
}
else if (item.ID == 200021)
{
Entity.CriticalStrike = 100;
Entity.SkillCStrike = 50;
Entity.Immunity = 100;
}
else if (item.ID == 200022)
{
Entity.CriticalStrike = 200;
Entity.SkillCStrike = 100;
Entity.Immunity = 200;
}
else if (item.ID == 200220)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 200486)
{
Entity.CriticalStrike += 100;
Entity.Immunity += 100;
}
else if (item.ID == 200485)
{
Entity.CriticalStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 200479)
{
Entity.CriticalStrike += 100;
Entity.SkillCStrike += 100;
}
else if (item.ID == 200478)
{
Entity.CriticalStrike += 100;
Entity.SkillCStrike += 100;
Entity.Immunity += 100;
}
else if (item.ID == 200477)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
}
else if (item.ID == 200475)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
}
#endregion
#region Cups State
if (position == ConquerItem.Bottle)
{
if (item.ID == 2100075)
{
Entity.Breaktrough += 30;
Entity.Counteraction += 30;
Entity.CriticalStrike += 300;
Entity.Immunity += 300;
}
}
#endregion
هنا تكتب ID جرمنت او ركوبه او كاس الي عوزة
else if (item.ID == 187425)
سلاموز
ابحث عن
private void loadItemStats(ConquerItem item)
هتحبث عن
#region Give Stats.
فوق
#region soul stats
حط دا
#region Garment
if (position == ConquerItem.Garment)
{
if (item.ID == 188925)
{
Entity.CriticalStrike += 100;
Entity.SkillCStrike += 100;
Entity.Immunity += 100;
}
else if (item.ID == 187425)
{
Entity.BaseDefence += 400;
Entity.BaseMagicDefence += 2;
}
else if (item.ID == 187415)
{
Entity.BaseDefence += 600;
Entity.BaseMagicDefence += 3;
}
else if (item.ID == 187405)
{
Entity.BaseDefence += 800;
Entity.BaseMagicDefence += 4;
}
else if (item.ID == 188935)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 188945)
{
Entity.CriticalStrike += 300;
Entity.SkillCStrike += 300;
Entity.Immunity += 300;
}
else if (item.ID == 188955)
{
Entity.CriticalStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 192745)
{
Entity.CriticalStrike += 100;
Entity.SkillCStrike += 100;
Entity.Immunity += 100;
}
else if (item.ID == 192755)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 192765)
{
Entity.CriticalStrike += 300;
Entity.SkillCStrike += 300;
Entity.Immunity += 300;
}
else if (item.ID == 192775)
{
Entity.CriticalStrike += 400;
Entity.SkillCStrike += 400;
Entity.Immunity += 400;
}
else if (item.ID == 192805)
{
Entity.CriticalStrike += 100;
Entity.Immunity += 100;
}
else if (item.ID == 192815)
{
Entity.CriticalStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 192825)
{
Entity.CriticalStrike += 300;
Entity.Immunity += 300;
}
else if (item.ID == 192935)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 192925)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 192895)
{
Entity.CriticalStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 188845)
{
Entity.CriticalStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 188755)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
}
else if (item.ID == 188515)
{
Entity.CriticalStrike += 400;
Entity.SkillCStrike += 400;
Entity.Immunity += 400;
}
else if (item.ID == 187875)
{
Entity.CriticalStrike += 100;
}
else if (item.ID == 187885)
{
Entity.SkillCStrike += 100;
}
else if (item.ID == 187865)
{
Entity.SkillCStrike += 200;
}
else if (item.ID == 187855)
{
Entity.CriticalStrike += 200;
}
else if (item.ID == 187795)
{
Entity.CriticalStrike += 300;
Entity.SkillCStrike += 300;
Entity.Immunity += 300;
}
else if (item.ID == 187785)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 187775)
{
Entity.CriticalStrike += 100;
Entity.SkillCStrike += 100;
Entity.Immunity += 100;
}
}
#endregion
#region MountArmor
if (position == ConquerItem.SteedArmor)
{
if (item.ID == 200221)
{
Entity.CriticalStrike += 300;
Entity.SkillCStrike += 300;
Entity.Immunity += 300;
}
else if (item.ID == 200480)
{
Entity.CriticalStrike = 200;
Entity.SkillCStrike = 200;
Entity.Immunity = 200;
}
else if (item.ID == 200021)
{
Entity.CriticalStrike = 100;
Entity.SkillCStrike = 50;
Entity.Immunity = 100;
}
else if (item.ID == 200022)
{
Entity.CriticalStrike = 200;
Entity.SkillCStrike = 100;
Entity.Immunity = 200;
}
else if (item.ID == 200220)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 200486)
{
Entity.CriticalStrike += 100;
Entity.Immunity += 100;
}
else if (item.ID == 200485)
{
Entity.CriticalStrike += 200;
Entity.Immunity += 200;
}
else if (item.ID == 200479)
{
Entity.CriticalStrike += 100;
Entity.SkillCStrike += 100;
}
else if (item.ID == 200478)
{
Entity.CriticalStrike += 100;
Entity.SkillCStrike += 100;
Entity.Immunity += 100;
}
else if (item.ID == 200477)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
}
else if (item.ID == 200475)
{
Entity.CriticalStrike += 200;
Entity.SkillCStrike += 200;
Entity.Immunity += 200;
}
}
#endregion
#region Cups State
if (position == ConquerItem.Bottle)
{
if (item.ID == 2100075)
{
Entity.Breaktrough += 30;
Entity.Counteraction += 30;
Entity.CriticalStrike += 300;
Entity.Immunity += 300;
}
}
#endregion
هنا تكتب ID جرمنت او ركوبه او كاس الي عوزة
else if (item.ID == 187425)
سلاموز