Skip to content

Commit

Permalink
[XCX] Fix bug with XCX damage multiplication pack (#680)
Browse files Browse the repository at this point in the history
It no longer ignores user preferences and only applies the divide damage mod when selected as such.
Thanks to @intra0 for this change (and his patience)!
  • Loading branch information
intra0 authored Feb 5, 2025
1 parent 16105d2 commit 8d35d97
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ divw r4, r31, r4
blr

_mult_or_divide:
cmpwi r0, $multOrDivision
bne- _divide_dmg
li r4, $multOrDivision
cmpwi r4, 0
bne _divide_dmg
mulli r4, r31, $mult
blr

Expand Down

0 comments on commit 8d35d97

Please sign in to comment.