[Patch] Relics Damage
#1
Download: Relics Damage

The patch allows the three relics (atlas armlet, earring and hero ring) that raises physic or magic damage to stack up. Each individual relic will contribute with 25% damage bonus based if the attack is physic or magic. Any combination of the three relics can be used, and the bonus damage will sum up.

Because technical reasons and balance, only the relics are checked in the patch for their 'raise physic damage' and 'raise magic damage' flags. All other equipment (weapon, shield, hat and armor) are ignored for the related flags, even if the flags are active.
Reply
#2
I was just looking into Relic balancing today, and came across the discrepancy with the Earrings vs. the Atlas Armlet. I thought I was going to have to code this myself. Thanks for saving me the trouble!
Projects:
FFVI: Divergent Paths (Completed) - a complete storyline and gameplay hack of FF6 that adds Leo as a playable character
Reply
#3
Necropost!

First off, I love this hack. The way that you have coded the damage bonuses makes so much more sense than the original, and is the way it should have been coded.

Now, the unfortunate side. This patch can cause damage overflow. If the Damage that was stored in $11B0 after the Offering/Gauntlet/Genji Glove calculation is higher than #$AAAA (dec 43,690), then this patch can cause a 16-bit overflow and result in fractional damage being dealt. I combined this with Drakkhen's damage overflow patch, which drops total damage to #$FFFF if it overflows the 16-bit field. This is presumably so that people can remove the 9999 cap if they want to. There are 2 ways to fix this. Since I am retaining the 9999 cap, I made a change to Drakkhen's code that it drops total damage to #$270F (9999) before it passes off the damage to your code.

However, if you wanted to fix this in this patch itself, then you'd simply need to add a check that says, "If $11B0 is already higher than #270F, skip over adding the bonus."
Projects:
FFVI: Divergent Paths (Completed) - a complete storyline and gameplay hack of FF6 that adds Leo as a playable character
Reply
#4
I was still having problems with this, so I went to the Discord for help. Seibaby took a look at the code, and found that the problem is in the ;update damage section. You are applying a 9999 damage cap BEFORE the enemy defense gets figured in. The CMP #$270F and LDA #$270F need to be changed to CMP #$FFFF and LDA #$FFFF. This fixes the issue.
Projects:
FFVI: Divergent Paths (Completed) - a complete storyline and gameplay hack of FF6 that adds Leo as a playable character
Reply
#5
Can someone please upload a fixed version? It looks like Hatzen is no longer updating his files. This patch looks wonderful, but seems a little unsafe until the noted change is made.
Reply
#6
I'll look at my notes on this one, and try to release an updated version.
Projects:
FFVI: Divergent Paths (Completed) - a complete storyline and gameplay hack of FF6 that adds Leo as a playable character
Reply
#7
I updated the patch with the mentioned fix. You can download it here: Relics Damage 1.1
Reply
#8
Thank you! Could you please also upload Wilder Randomness 4.4 as an ips? I tried Gi Nattak's asm version of 4.4 & it had errors with my quirky expanded rom. I'm sure I'll have better luck with a headered ips like 4.2 is.
Reply
#9
I updated the wilder randomness patch. You can download it here: Wilder Randomness 4.4
Reply
#10
(12-25-2022, 01:51 PM)HatZen08 Wrote: I updated the wilder randomness patch. You can download it here: Wilder Randomness 4.4

Thanks for all your hard work on these patches. Much appreciated.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Y Equip Relics bug fix Subtraction 0 1,944 06-28-2019, 03:02 AM
Last Post: Subtraction
  [Patch] Relics Boost HatZen08 0 2,102 05-10-2018, 03:53 AM
Last Post: HatZen08
  [Patch] Fair Damage HatZen08 5 6,662 04-19-2018, 01:18 PM
Last Post: Warrax

Forum Jump:


Users browsing this thread: 1 Guest(s)