Item stats formula calculation

Results 1 to 14 of 14
  1. #1
    Proficient Member executor66 is offline
    MemberRank
    Oct 2008 Join Date
    163Posts

    idea Item stats formula calculation

    Anybody knows the formula for items.
    How stats are calculated?

    Normal items:
    str = intval(0.03*itemdroplevel*str)+20+0.09*itemlevel*str)+(itemoption*5)
    agi = intval(0.03*itemdroplevel*agi)+20+0.09*itemlevel*agi)
    ene = ?// for elemental shield
    dur = for lvl 1-4 +1; 5-9 +2; 10 +3; 11 +4; 12 +5; 13 +6;
    dmg_min = for lvl 1-9 +3; 10 +4; 11 +5; 12 +6; 13+7
    dmg_max = for lvl 1-9 +3; 10 +4; 11 +5; 12 +6; 13+7
    def = for lvl 1-9 +3; 10 +4; 11 +5; 12 +6; 13+7
    def = +def*itemlevel // for shields
    def_rate =

    Exc items:
    str ~= ? str*0.75 + normal
    agi ~= ? agi*0.75 + normal
    dur = normal +15
    dmg_min = normal +30
    dmg_max = normal + 30
    def = normal + intval(def*12/itemdroplevel)+4+intval(itemlevel/5);
    def = normal // for shields
    def_rate =
    Anybody can help me pls :S
    Last edited by executor66; 10-03-13 at 01:13 AM.


  2. #2
    Proficient Member executor66 is offline
    MemberRank
    Oct 2008 Join Date
    163Posts

    Re: Item stats formula calculation

    No coder here, who know / can look up the formula?
    Need to calculate for a New WebMarket System :S

  3. #3
    Developer nevS is offline
    MemberRank
    Aug 2005 Join Date
    GermanyLocation
    531Posts

    Re: Item stats formula calculation

    There is no formula for the base stat requirements. It's all defined in the Items.txt/bmd.
    However, the requirements rise with the item level and option.

  4. #4
    Proficient Member executor66 is offline
    MemberRank
    Oct 2008 Join Date
    163Posts

    Re: Item stats formula calculation

    Quote Originally Posted by nevS View Post
    There is no formula for the base stat requirements. It's all defined in the Items.txt/bmd.
    However, the requirements rise with the item level and option.
    Lol! For sure there is a formula. Somehow you need to calculate how much stats rise with each lvl.
    Its not stupid+5 or something like that each lvl up ;)

  5. #5
    Developer nevS is offline
    MemberRank
    Aug 2005 Join Date
    GermanyLocation
    531Posts

    Re: Item stats formula calculation

    yes, read my post again :p for the base requirements there is no formula. For the rise by level and option there is a "formula", you can easily see a pattern which is same for almost all items.

    Look:
    (index is the item level)
    int[] additionalStaffRise = new int[] { 0, 3, 7, 10, 14, 17, 21, 24, 28, 31, 35, 40, 45, 50, 56, 63 };
    int[] additionalDurability = new int[] { 0, 1, 2, 3, 4, 6, 8, 10, 12, 14, 17, 21, 26, 32, 39, 47 };
    int[] additionalDamage = new int[] { 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 31, 36, 42, 49, 57, 66 };
    int[] additionalDefense = new int[] { 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 31, 36, 42, 49, 57, 66 };

    ohhh i just looked... For the requirements it is not as simple, and I don't have the formular for that, sorry :)
    Last edited by nevS; 08-03-13 at 07:24 PM.

  6. #6
    Proficient Member executor66 is offline
    MemberRank
    Oct 2008 Join Date
    163Posts

    Re: Item stats formula calculation

    sure. knew that. thats why I am asking for the upgrade formula ;)
    but you need to distinguish between normal and excellent (or ancient) item ;)
    but thx for staffrise :)
    found some formula and added them to the first post :)

    Quote Originally Posted by nevS View Post
    yes, read my post again :p for the base requirements there is no formula. For the rise by level and option there is a "formula", you can easily see a pattern which is same for almost all items.

    Look:
    (index is the item level)
    int[] additionalStaffRise = new int[] { 0, 3, 7, 10, 14, 17, 21, 24, 28, 31, 35, 40, 45, 50, 56, 63 };
    int[] additionalDurability = new int[] { 0, 1, 2, 3, 4, 6, 8, 10, 12, 14, 17, 21, 26, 32, 39, 47 };
    int[] additionalDamage = new int[] { 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 31, 36, 42, 49, 57, 66 };
    int[] additionalDefense = new int[] { 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 31, 36, 42, 49, 57, 66 };

    ohhh i just looked... For the requirements it is not as simple, and I don't have the formular for that, sorry :)

  7. #7
    Proficient Member executor66 is offline
    MemberRank
    Oct 2008 Join Date
    163Posts

    Re: Item stats formula calculation

    Anybody can help with the missing formulas?

  8. #8
    Developer nevS is offline
    MemberRank
    Aug 2005 Join Date
    GermanyLocation
    531Posts

    Re: Item stats formula calculation

    Def-Rate for shield is same as def for armor:
    def_rate = for lvl 1-9 +3; 10 +4; 11 +5; 12 +6; 13+7

  9. #9
    Proficient Member executor66 is offline
    MemberRank
    Oct 2008 Join Date
    163Posts

    Re: Item stats formula calculation

    Quote Originally Posted by nevS View Post
    Def-Rate for shield is same as def for armor:
    def_rate = for lvl 1-9 +3; 10 +4; 11 +5; 12 +6; 13+7
    Thanks. Going to try that :)

  10. #10
    Proficient Member executor66 is offline
    MemberRank
    Oct 2008 Join Date
    163Posts

    Re: Item stats formula calculation

    Anyone knows the other formula?

  11. #11
    Developer nevS is offline
    MemberRank
    Aug 2005 Join Date
    GermanyLocation
    531Posts

    Re: Item stats formula calculation

    up

    I'm interested as well ;)

  12. #12
    Lage Company™ afonsolage is offline
    MemberRank
    Mar 2012 Join Date
    Fortaleza, BRALocation
    244Posts

    Re: Item stats formula calculation

    executor66,

    Can you say more about this formula?
    str = intval(0.03*itemdroplevel*str)+20+0.09*itemlevel*str)
    Where did you get it and what is STR and itemdroplevel?

    Thanks!!

  13. #13
    Proficient Member executor66 is offline
    MemberRank
    Oct 2008 Join Date
    163Posts

    Re: Item stats formula calculation

    Quote Originally Posted by afonsolage View Post
    executor66,

    Can you say more about this formula?


    Where did you get it and what is STR and itemdroplevel?

    Thanks!!
    Str = item strenght found in items.txt.
    itemdroplevel is the level the mobs almost have to be to drop that item.
    all could be configurated in items.txt

  14. #14
    Lage Company™ afonsolage is offline
    MemberRank
    Mar 2012 Join Date
    Fortaleza, BRALocation
    244Posts

    Re: Item stats formula calculation

    Quote Originally Posted by executor66 View Post
    Anybody knows the formula for items.
    How stats are calculated?

    Normal items:
    str = intval(0.03*itemdroplevel*str)+20+0.09*itemlevel*str)+(itemoption*5)
    agi = intval(0.03*itemdroplevel*agi)+20+0.09*itemlevel*agi)
    ene = ?// for elemental shield
    dur = for lvl 1-4 +1; 5-9 +2; 10 +3; 11 +4; 12 +5; 13 +6;
    dmg_min = for lvl 1-9 +3; 10 +4; 11 +5; 12 +6; 13+7
    dmg_max = for lvl 1-9 +3; 10 +4; 11 +5; 12 +6; 13+7
    def = for lvl 1-9 +3; 10 +4; 11 +5; 12 +6; 13+7
    def = +def*itemlevel // for shields
    def_rate =

    Exc items:
    str ~= ? str*0.75 + normal
    agi ~= ? agi*0.75 + normal
    dur = normal +15
    dmg_min = normal +30
    dmg_max = normal + 30
    def = normal + intval(def*12/itemdroplevel)+4+intval(itemlevel/5);
    def = normal // for shields
    def_rate =
    Anybody can help me pls :S
    The formula for EXC Itens defense is wrong...some one knows the correct one?



Advertisement