cemu_graphic_packs/Mods/XenobladeX_mod_ExpClassExpPointsX/patches.txt
lasyan3 00e2eb580c [XCX] 1.0.1U Compatibility.
Mod "Equipment - Force Type" now allows to select a specific sub-type (for example only loot dual guns ground weapon). But this works only for ground weapons, ground armors and skells armors (not skells weapons).
Experience mods (Inner, Class and Battle) now affect points gained in battle, missions, quests and exploration (previously only battle was affected).
2019-03-16 14:25:25 +01:00

60 lines
1.6 KiB
Plaintext

[XCX_CLASSEXPX]
moduleMatches = 0xF882D5CF, 0x30B6E091, 0xAB97DE6B ; 1.0.1E, 1.0.2U, 1.0.1U
codeCaveSize = 0x50
0x00000000 = .byte $mod
_mod = 0x00000000
_expBattle = 0x00000004
0x00000004 = lis r12, _mod@ha
0x00000008 = lbz r12, _mod@l(r12)
0x0000000C = mullw r31, r3, r12
0x00000010 = blr
; ----------------------------------------------------------------------------
; WHO : addClassExpChara__Q2_6Battle14CBattleManagerFUiT1
; WHAT : Multiply the class experience given during combat
0x020C4A28 = bla _expBattle
; ----------------------------------------------------------------------------
; WHO : menu::MenuMultiQuestInfoSub::displayInfoDL((menu::MenuObject *))
; WHAT :
_dispBefore = 0x00000014
0x00000014 = lis r5, _mod@ha
0x00000018 = lbz r5, _mod@l(r5)
0x0000001C = mullw r3, r3, r5
0x00000020 = stw r3, 0x34(r1)
0x00000024 = blr
0x02B91324 = bla _dispBefore
; ----------------------------------------------------------------------------
; WHO : menu::MenuMultiQuestResult::setup((void))
; WHAT :
_dispAfter = 0x00000028
0x00000028 = lis r5, _mod@ha
0x0000002C = lbz r5, _mod@l(r5)
0x00000030 = mullw r3, r3, r5
0x00000034 = stw r3, 0x80(r1)
0x00000038 = blr
0x02B9FF44 = bla _dispAfter
; ----------------------------------------------------------------------------
; WHO : addReward__Q2_3cfs11CfSquadUtilSFUiT1
; WHAT : Multiply the experience points given by Squad missions
_expSquadValue = 0x0000003C
0x0000003C = lis r4, _mod@ha
0x00000040 = lbz r4, _mod@l(r4)
0x00000044 = mullw r3, r3, r4
0x00000048 = stw r3, 0x18(r1)
0x0000004C = blr
0x023CC750 = bla _expSquadValue
0x023CC814 = bla _expSquadValue