1. Welcome to the Toram Online Forums. Please make sure to read our rules and be friendly to all our members.
    Click here to read the rules before posting.
    Dismiss Notice

Strike Stab 100%crt Calculation

Discussion in 'Halberd' started by tinTa, Nov 13, 2017.

  1. mayam

    mayam Elite Member Elite Member Epic Member

    Joined:
    May 14, 2016
    Messages:
    4,203
    Likes Received:
    2,473
    It works coz its not a decimal anymore after you add another cr+2%
    The point is even if you calculate and get 99.99% critical the system still treats it as 99% meaning 1 in a 100 chance to non critical of course if you add like cr+1% to it the 0.01 crit that is needed gets added so it becomes exact 100% theres no more decimal involved in this case.

    Tl;dr the decimals are not removed till the final step dont consider cr+2% as an individual amount better to consider it as a whole along with other cr+% gears that you have.
     
    • Like Like x 1
  2. Archie or Ara

    Archie or Ara Well-Known Member

    Joined:
    Apr 25, 2017
    Messages:
    316
    Likes Received:
    125
    IGN:
    Aramaisa
    What mayam said lol. Thankies mayam Sishou ;)
     
  3. Azin.

    Azin. Brawler Enthusiast Elite Member

    Joined:
    Jun 21, 2016
    Messages:
    2,064
    Likes Received:
    1,009
    IGN:
    AZlN
    toram is using integer as number not float or double.. so as integer it tend to disregard the decimal point.. i myself know how program works and i know the reason why the program of toram doesnt accept the decimal.. cuz they are using integer as their number instead of float/double @mayam and @TheXIIIthGuy knows about it.. the computation isnt wrong itself its just how the program read it :)
     
  4. TheXIIIthGuy

    TheXIIIthGuy Bye bye Elite Member

    Joined:
    Dec 28, 2015
    Messages:
    1,337
    Likes Received:
    1,192
    Yep, it uses integers, but he's still right though.
    Short version, the games only rounds down at the very end of the crit rate calculation.
    Long and programmer version, the conversion (or rather, casting) from float to integer happens only at the assignment of the value to the variable (which involves calculating the entire expression to the right of the assignment operator first) or, in the case of a manual conversion, when the entire expression inside the parentheses has been calculated. It just so happens that the entire crit rate is calculated before the conversion.
    For Strike Stab, the reduction applies to the base crit rate, so it happens that the number is still not rounded down until the very end. For Snipe however, the number is rounded down twice: once for calculating your total crit rate in normal circumstances, once for calculating your Snipe's crit rate.
     
    • Like Like x 1
  5. -Kazuki-

    -Kazuki- Well-Known Member

    Joined:
    Dec 25, 2016
    Messages:
    702
    Likes Received:
    155
    IGN:
    -Kazuki-
    well that's sad
     
  6. Spanish Bread

    Spanish Bread Well-Known Member

    Joined:
    Mar 3, 2017
    Messages:
    465
    Likes Received:
    149
    would be great if someone provide me w/ gears to test and see if theoretical value is correct
     
  7. mayam

    mayam Elite Member Elite Member Epic Member

    Joined:
    May 14, 2016
    Messages:
    4,203
    Likes Received:
    2,473
    The value is correct up to you to believe it or not, the formula is (25 + CRT/3.4)*(1 + Crit+%stats/100)/2 + crit+flat . The gears are not cheap enough to just give away even if it was just for testing if you want to see it with your own eyes it will cost you obviously.

    But if you want indirect proof you can try strike stab with toy hammer. Toy hammer is +100 flat crit which is unaffected by strike stab penalty so it will have 100% crit rate even after penalty while if you try snipe with 1h+arrow you will still see some non crits meaning it actually applies to total crit and not just base crit.
     

Share This Page