Skip to content

Instantly share code, notes, and snippets.

@Dabomstew
Created December 19, 2020 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dabomstew/10842ad181ab39478e2344f59ea646d8 to your computer and use it in GitHub Desktop.
Save Dabomstew/10842ad181ab39478e2344f59ea646d8 to your computer and use it in GitHub Desktop.
Neptunia Rebirths/Victory Damage Calculation
This pastebin is still a work in progress but it has a lot of the important bits covered already.
Nothing is rounded unless it is explicitly put in floor(), most of the calculations are done in floats
Everything is done in terms of each individual hit in the move, so individual hits can miss or crit separately and the hit counter bonus / guard break bonus are re-checked for each one.
Share Adjustment
----------------
Share adjustment for CPUs/Candidates is 1% extra stats per 5% shares when they're attacking and 1% extra stats per 3% shares when they're being attacked. Applies to all stats used in damage calc & accuracy. Only used in battle, not shown on the Status pages.
* Nepgear's Leader Skill multiplies the buff by a further 20% - this actually just has the effect of *boosting ALL CPU stats by 20%* which is OP as all hell.
* 9999 stat cap does not apply here, it only applies to the initial listed stats (stats + gear)
* DLC Plutia/Peashy in RB1 still benefit from Planeptune shares
* In boss battles against Yellow Heart she benefits from Planeptune shares even when she's meant to be affiliated with Eden at the time
Solo Adjustment (new 9/11/2017)
-------------------------------
It seems that if you have a character fight solo, they gain a 10% buff to at least their core stats. I think it only applies to STR, VIT, INT, MEN but not 100% sure. This buff stacks multiplicatively with all other buffs (temporary buffs/share buffs) so it's pretty significant. Only tested in Victory and Re;Birth 1 so far.
Weaken/Toughen Enemies (Rebirths)
---------------------------------
Weaken enemies subtracts 15% of the stat rounded down. Applies only to STR, VIT, INT, MEN.
So stat = stat - floor(0.15*stat)
Toughen enemies is the same but in the other direction - 15% increase rounded down
So if an enemy has 1000 STR they have 850 weakened and 1150 toughened. Fairly simple. But one with 999 STR would have 850 weakened, not 849.
Accuracy
--------
Accuracy % = floor((Attacker LUK + Attacker TEC)/([Attacker LUK]/2 + Defender AGI)*70 + Direction Adjustment)
Direction Adjustment = 0 if in front, 15 on the side, 25 if behind. This is added, not multiplied.
No cap, both sure-hit and never-hit are possible albeit extremely unlikely in the case of the latter. Each hit of a move can hit or miss individually.
Critical Hit Rate
-----------------
Base Critical Hit % = floor([Attacker LUK]/4 + [Attacker TEC]/5 - [Defender LUK]/5 - [Defender TEC]/5)
Crit rate isn't capped below 100%, so if you out-stat an enemy enough you crit every hit. Similarly there is no minimum so you can never crit an enemy too high above you without additional modifiers.
Hit Power
---------
Hit Power = Listed Power / Number of Hits / 100
Damage calcs are done per individual hit of a move. Each hit is usually equal. Boss extensions on EXE Drive moves have a separate bonus power and bonus number of hits that is used once the extended part is reached.
(example: Victory Slash has 517 listed power and 2 hits, so each hit would have a Hit Power of 2.585)
Guard Break
-----------
There does not appear to be any reward for getting the Guard bar low if it's not broken, contrary to what I've heard before.
Guard Break status is inflicted when GP hits 0 but only removed if the enemy is hit when Guard Break is active and GP is not 0. Enemies regen 20% GP every turn if their guard is broken. The implication here is that you really want to hit them as soon as possible after they take their first turn after a guard break - they can regen all the way back up to full if you don't.
Damage Calculation
------------------
GBA (Guard Break Adjustment) = 1.4 if guard broken, 1.0 otherwise
RA (Random Adjustment) = rand[0.9,0.92) (really 0.9 + rand(2000)/10000)
HCA (Hit Count Adjustment) = 1 + (Current Combo Hit Count)/200
CHA (Critical Hit Adjustment) = 1.5 if the move was a crit, 1.0 otherwise
DA (Direction Adjustment) = 1.0 if attacking from in front, 1.2 from the side, 1.4 from back
* direction adjustment has removed entirely in RB3 when the player attacks; it only applies when the enemy is attacking
Damage = floor([(5*Offensive Stat*GBA) - (3*Defensive Stat)]*Hit Power*RA*HCA*CHA*DA)
If damage limit isn't broken, damage is capped to 9999 per hit, otherwise 999999999 (though the natural ingame stats won't allow you to get anywhere close to that second cap). Negative damage becomes 0 as you'd expect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment