Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Should I be flooring before I put in these numbers for damage calculation?
#1
EDIT: Please scroll down to my most recent post as that is the question I now need help resolving.


I'm making a Kaiser range calculator just for personal use. So far I've finished the formulas to determine stats based on base stats + equips, but now I'm translating those stats into damage with the formula:

MULTIPLIER * (4 * PRIMARY STAT + SECONDARY STAT) * (ATTACK / 100)

I've searched around and keep finding this formula, but no mention of whether the values need to be rounded to a whole number before I proceed. For instance, my secondary stat (DEX) is currently 4.28 after buffs. Of course, the game says it's 4, but I don't want to assume that the game rounds it before calculating range just because it's rounded on my stats menu. So I want to double check with someone to make sure that the game actually rounds it before entering the stat into the above formula. When I use the above formula, do I enter 4.28 for secondary stat, and round only at the very end, or do I round BOTH each variable (primary stat, secondary stat, and attack) and round at the end as well?

Also, is the multiplier for 2H Swords still 1.29?
Reply
#2
Fairly sure the values get typecasted to an integer before throwing them into the formula. So yes, floor it.
Reply
#3
Will do. Am I right about 1.29 being the multiplier?

Also does "All stats +20" essentially mean STR+20 DEX+20 (and NOT Attack+20)?
Reply
#4
Slashtap Wrote:Will do. Am I right about 1.29 being the multiplier?

Also does "All stats +20" essentially mean STR+20 DEX+20 (and NOT Attack+20)?
All Stats only refers to Str/Dex/Int/Luk.
Reply
#5
Slashtap Wrote:Also does "All stats +20" essentially mean STR+20 DEX+20 (and NOT Attack+20)?
ninja;
Pretty sure that All stats refers to STR/DEX/LUk/INT, If you see Accuracy/Avoidability/Defense/Magic Defense increase it's due to adding to those stats.
Reply
#6
Edit (again): Ok I'm still not getting my range when I crunch these numbers, I'm missing roughly 22 attack from my calculations (the STR and DEX are correct so I reason it must be attack). The only way the deficit in my calculations can't be due to the attack stat is if some 4th stat apart from STR/DEX/Attack like PDR ignore or %boss damage factors into the range you see on your stat screen (which I highly doubt.. but if someone knows otherwise please say so).

So here are the attack boosts from passive skills that I'm counting: +30 attack from 4th job attacker mode, Empress Blessing (mine is 21), +30 attack from Expert Sword Mastery, +30 attack from Advanced Tempest Blades. Is there anything passive that I'm missing at all? I've triple checked and can't find anything.

The Tempest set of equipment gives 30 STR 30 DEX and 35 attack as a bonus for wearing 8 pieces, did I get that right?

Maple Warrior (or Nova Warrior) give a % bonus to STR/DEX but not attack, is that right?

Apart from the above I haven't a clue what is causing the ~22 attack deficit in my calculated range. Where is that last 22 attack? o_o
Reply
#7
Slashtap Wrote:Edit (again): Ok I'm still not getting my range when I crunch these numbers, I'm missing roughly 22 attack from my calculations (the STR and DEX are correct so I reason it must be attack). The only way the deficit in my calculations can't be due to the attack stat is if some 4th stat apart from STR/DEX/Attack like PDR ignore or %boss damage factors into the range you see on your stat screen (which I highly doubt.. but if someone knows otherwise please say so).

So here are the attack boosts from passive skills that I'm counting: +30 attack from 4th job attacker mode, Empress Blessing (mine is 21), +30 attack from Expert Sword Mastery, +30 attack from Advanced Tempest Blades. Is there anything passive that I'm missing at all? I've triple checked and can't find anything.

The Tempest set of equipment gives 30 STR 30 DEX and 35 attack as a bonus for wearing 8 pieces, did I get that right?

Maple Warrior (or Nova Warrior) give a % bonus to STR/DEX but not attack, is that right?

Apart from the above I haven't a clue what is causing the ~22 attack deficit in my calculated range. Where is that last 22 attack? o_o

Character Card Deck? Link Skills?
Reply
#8
If you're still wondering about the 2H Sword Multiplier, I'm pretty sure it became 1.32
Reply
#9
Slashtap Wrote:Edit (again): Ok I'm still not getting my range when I crunch these numbers, I'm missing roughly 22 attack from my calculations (the STR and DEX are correct so I reason it must be attack). The only way the deficit in my calculations can't be due to the attack stat is if some 4th stat apart from STR/DEX/Attack like PDR ignore or %boss damage factors into the range you see on your stat screen (which I highly doubt.. but if someone knows otherwise please say so).

So here are the attack boosts from passive skills that I'm counting: +30 attack from 4th job attacker mode, Empress Blessing (mine is 21), +30 attack from Expert Sword Mastery, +30 attack from Advanced Tempest Blades. Is there anything passive that I'm missing at all? I've triple checked and can't find anything.

The Tempest set of equipment gives 30 STR 30 DEX and 35 attack as a bonus for wearing 8 pieces, did I get that right?

Maple Warrior (or Nova Warrior) give a % bonus to STR/DEX but not attack, is that right?

Apart from the above I haven't a clue what is causing the ~22 attack deficit in my calculated range. Where is that last 22 attack? o_o

andbesides what polantaris posted, don't forget beginner skills like empress blessing and such, and set effects from equips
Reply
#10
iAmFear Wrote:If you're still wondering about the 2H Sword Multiplier, I'm pretty sure it became 1.32

BW/Axe started at 1.32 and are 1.34, would not be surprised if Kaiser's the same. It's hard to count up all sources of atk though.

My Kaiser's w.atk is:
253 atk - equips (visibly equipped ones)
6 atk - Character card bonuses
33 atk - Beginner skills with Attacker mode enabled
25 atk - 2nd job
10 atk 30% atk - 3rd job
25 atk - 4th job (currently, will be more)
= 457 total atk

Other things affecting range:
+1.5 damage per level
+8% hp into damage (note: uses BASE hp)


1961 str 156 dex, plus 457 atk = 80*457*multiplier + (1.5 per level +8% of hp) = 50167
Level bonus = 186, hp bonus = ~720 (can't be exact cause I don't know my base HP)
So 49260~ of my range is from the base. This gives me a multiplier of ~1.347, so I'll just assume I'm wrong about base HP and that the multiplier's really 1.34.


As far as I know, without Catalyze, I don't have any %atk going on though, so removing that and varying atk can help.
Buffs, except Catalyze: 38590 max
Removing 2 atk: 38376 max
214 difference from an 80 multiplier = 1.3375 (which is just 1.34, rounded down - 1.34 would give 214.4)
Reply
#11
Can someone else confirm whether range increases by 1.5 each level, that 8% of base HP gets added to range, and the 2H Sword multiplier is 1.32?
Reply
#12
Slashtap Wrote:Can someone else confirm whether range increases by 1.5 each level, that 8% of base HP gets added to range, and the 2H Sword multiplier is 1.32?

i confirmed the second one ages ago, it shows additively on your range (even if it doesn't actually work that way)
Reply
#13
Slashtap Wrote:2H Sword multiplier is 1.32?

It's 1.34.
Reply
#14
Slashtap Wrote:Edit (again): Ok I'm still not getting my range when I crunch these numbers, I'm missing roughly 22 attack from my calculations (the STR and DEX are correct so I reason it must be attack). The only way the deficit in my calculations can't be due to the attack stat is if some 4th stat apart from STR/DEX/Attack like PDR ignore or %boss damage factors into the range you see on your stat screen (which I highly doubt.. but if someone knows otherwise please say so).

So here are the attack boosts from passive skills that I'm counting: +30 attack from 4th job attacker mode, Empress Blessing (mine is 21), +30 attack from Expert Sword Mastery, +30 attack from Advanced Tempest Blades. Is there anything passive that I'm missing at all? I've triple checked and can't find anything.

The Tempest set of equipment gives 30 STR 30 DEX and 35 attack as a bonus for wearing 8 pieces, did I get that right?

Maple Warrior (or Nova Warrior) give a % bonus to STR/DEX but not attack, is that right?

Apart from the above I haven't a clue what is causing the ~22 attack deficit in my calculated range. Where is that last 22 attack? o_o

PDR does not affect range. Also Nova/Maple Warrior increase based off your base stat, so if you have 100 base str but 1000 total str, you would get 15 str from NW and not 150.
Reply
#15
Thanks everyone for the help so far. The main stat calculations are nearly perfect now. After quadruple checking my gear, skills, and character card effects, my DEX matches exactly and STR is off by only 4 points.

Lastly, I should add 1.5*level and 1.08*base HP to the formula in my original post, correct? Is there a way to determine base HP, even if it's just a rough estimate?
Reply
#16
EDIT: Nvm, I can't read.
Reply
#17
Slashtap Wrote:Is there a way to determine base HP, even if it's just a rough estimate?

Unless you have inner potential, HP is just (base + bonuses)*%hp, with all sources of %hp added together and all sources of +hp added together. So if you can add every source of HP up you can work it out.
Reply
#18
Ok, so just naked HP excluding HP from skills.

Also, I don't know where the 1.5*level came from, but it can't be true. I realized when you level up, your range doesn't change at all.
Reply
#19
Slashtap Wrote:Ok, so just naked HP excluding HP from skills.

Also, I don't know where the 1.5*level came from, but it can't be true. I realized when you level up, your range doesn't change at all.

that was a character deck thing, not the actual formula.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)