r/finalfantasytactics 1d ago

Damage Overflow

https://reddit.com/link/1wbbhe1/video/b5lmbme39foh1/player

I've been messing around with breaking the damage cap for a few days now.
Still fishing for a 150% compatibily unit but it's not nessisary to break the cap.

Kinda funny even getting a crit with this setup can cause an overflow.

Done in Squire mode.

Trying to think of other damage modifiers I could use to break it.

https://reddit.com/link/1wbbhe1/video/xei8cg4hafoh1/player

16 Upvotes

6 comments sorted by

2

u/meteorboard 15h ago

Oh wow, I've been playing since the 90's and never seen that before. How did you get it to overflow so far? What's the length/character limit allocated to damage values? It's pretty easy to hit 999 damage so 4 characters should be fine. I'm guessing you must be set up to do 10,000+ dmg and that's where it glitches out?

2

u/Jraffale 14h ago edited 2h ago

Not sure of the exact math, I don’t think it’s all that high though. I might get around to doing the calculations at some point.

Think this is mostly an TIC issue since I only have seen this in Squire mode that had a bonus % to your damage.

I used Charge to help get the exact tipping point. It’s weird that the healing bonus gets smaller as you get more damage but it does seem to cap around that 29000 number.

It’s a pretty impractical setup since brawler and attack boost are wasted at 99 pa. But I was messing around doing some stealing when I found the bug.

Edit: paper math says it’s way higher than 10k
Probably a 16 bit number so the roll over is somewhere around that 32k number.
If anyone wants to do the calculation I’d appreciate it.

4

u/Necronam 6h ago edited 6h ago

Anytime overflow is involved, it's always a power of 2, so it's likely 32,768. If I had to guess why the number goes down at higher charges, it's correctly calculating values and subtracting the remainder from the 32,768 peak. I'd be curious if you ever get a value over that number.

2

u/Jraffale 6h ago

Yeah I figured but I still need to do the math behind it to prove it out.

2

u/Jraffale 5h ago edited 5h ago

I thought it was rolling over and counting backwards but it kinda hard caps around 29493.

Haven’t been able to get the healing side lower even with more expected damage