zezonever
2019-11-08, 02:32 AM
السلام عليكم ورحمه الله وبركاته
اولا ده في بعض السورسات ال علي النت وحلها كالاتي
هنفتح ملف Gamestate
هندور ع
if (item.Position == MsgItemInfo.RightWeapon)
او
if (item.Position == MsgItemInfo.LeftWeapon)
هتلاقيهم تحت بعض بدل الاتنين بدول
if (position == MsgItemInfo.RightWeapon)
{
if (item.Durability > 0)
{
Player.AttackRange += dbi.BaseInformation.AttackRange;
if (ItemHandler.IsTwoHand(dbi.BaseInformation.ID))
Player.AttackRange += 3;
else
{
Player.AttackRange += 2;
}
}
}
if (position == MsgItemInfo.LeftWeapon)
{
if (item.Durability > 0)
{
Player.BaseMinAttack += (uint)dbi.BaseInformation.MinAttack / 6;
Player.Breaktrough += dbi.BaseInformation.BreakThrough;
if (Player.ContainsFlag4(MsgUpdate.Flags4.FreezingPel ter))
Player.BaseMinAttack += (uint)((dbi.BaseInformation.MinAttack / 6) + dbi.BaseInformation.MinAttack * Database.SpellTable.GetSpell(13020, this).Power / 100);
else
Player.BaseMinAttack += (uint)dbi.BaseInformation.MinAttack / 6;
Player.BaseMaxAttack += (uint)dbi.BaseInformation.MaxAttack / 6;
}
}
لو الاتاك عندي عالي او اقل
غير دى / 6 لو قل قلل الرقم لو على على الرقم :emoji9:
هتلاقي /6 خليها /7 لو بيزود الاتاك بردوا خليها /8 لحد ما تظبط لو قلل الاتاك اعكسها قلل الرقم
والسلام عليكم ورحمه الله وبركاته :D
اولا ده في بعض السورسات ال علي النت وحلها كالاتي
هنفتح ملف Gamestate
هندور ع
if (item.Position == MsgItemInfo.RightWeapon)
او
if (item.Position == MsgItemInfo.LeftWeapon)
هتلاقيهم تحت بعض بدل الاتنين بدول
if (position == MsgItemInfo.RightWeapon)
{
if (item.Durability > 0)
{
Player.AttackRange += dbi.BaseInformation.AttackRange;
if (ItemHandler.IsTwoHand(dbi.BaseInformation.ID))
Player.AttackRange += 3;
else
{
Player.AttackRange += 2;
}
}
}
if (position == MsgItemInfo.LeftWeapon)
{
if (item.Durability > 0)
{
Player.BaseMinAttack += (uint)dbi.BaseInformation.MinAttack / 6;
Player.Breaktrough += dbi.BaseInformation.BreakThrough;
if (Player.ContainsFlag4(MsgUpdate.Flags4.FreezingPel ter))
Player.BaseMinAttack += (uint)((dbi.BaseInformation.MinAttack / 6) + dbi.BaseInformation.MinAttack * Database.SpellTable.GetSpell(13020, this).Power / 100);
else
Player.BaseMinAttack += (uint)dbi.BaseInformation.MinAttack / 6;
Player.BaseMaxAttack += (uint)dbi.BaseInformation.MaxAttack / 6;
}
}
لو الاتاك عندي عالي او اقل
غير دى / 6 لو قل قلل الرقم لو على على الرقم :emoji9:
هتلاقي /6 خليها /7 لو بيزود الاتاك بردوا خليها /8 لحد ما تظبط لو قلل الاتاك اعكسها قلل الرقم
والسلام عليكم ورحمه الله وبركاته :D