[XCX mod] added Ground Damage Divisor (#512)

* [XCX mod] create Ground Damage Divisor patch_dmg

cemu_graphic_packs/src/XenobladeChroniclesX/Mods/ BattleDamageModGround2/patch_dmg

* [XCX mod] create Ground Damage Divisor rules

cemu_graphic_packs/src/XenobladeChroniclesX/Mods/ BattleDamageModGround2/rules

* Rename patch_dmg to patch_dmg.asm

* Rename rules to rules.txt

* Xenoblade X - Ground Damage Divisor - remove superfluous quote

Co-authored-by: Crementif <26669564+Crementif@users.noreply.github.com>

* Xenoblade X - Ground Damage Divisor - shortened mod description

Co-authored-by: Crementif <26669564+Crementif@users.noreply.github.com>

* Xenoblade X - Ground Damage Divisor - added categories and default x1 preset

Co-authored-by: Crementif <26669564+Crementif@users.noreply.github.com>

* XenobladeX - Ground Damage Divisor - removed ####'s

Co-authored-by: Crementif <26669564+Crementif@users.noreply.github.com>
This commit is contained in:
lashoun 2021-08-12 06:32:09 +02:00 committed by GitHub
parent 85268ae047
commit 9489ea3d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,22 @@
[XCX_DAMAGES]
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
.origin = codecave
.int $divr
_divide_dmg:
li r4, $divr
divw r4, r31, r4
blr
0x025D896C = bla _divide_dmg
[XCX_DAMAGES_1U]
moduleMatches = 0xAB97DE6B ; 1.0.1U
.origin = codecave
.int $mult
0x025D88FC = mulli r4, r31, $mult

View File

@ -0,0 +1,45 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = Ground damage divisor
path = "Xenoblade Chronicles X/Mods/Battle/Ground damage divisor
description = Make the game more challenging by dividing the given damage you and your team do to enemies. Doesn't affect the damage numbers that are shown.|Might be experimental since it's not fully been tested yet.||Made by Lashoun.
version = 5
[Default]
$divr = 2
[Preset]
category = Damage Divisor
name = Normal Damage (Default)
default = 1
$divr = 1
[Preset]
category = Damage Divisor
name = Damage / 2
$divr = 2
[Preset]
category = Damage Divisor
name = Damage / 3
$divr = 3
[Preset]
category = Damage Divisor
name = Damage / 5
$divr = 5
[Preset]
category = Damage Divisor
name = Damage / 10
$divr = 10
[Preset]
category = Damage Divisor
name = Damage / 10
$divr = 50
[Preset]
category = Damage Divisor
name = Damage / 100
$divr = 100