cemu_graphic_packs/Modifications/XenobladeX_mod_LootOnlyEquipment/patches.txt
2018-10-12 23:30:02 +02:00

52 lines
1.8 KiB
Plaintext

[XCX_DROPONLYEQUIPMENT]
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
; ----------------------------------------------------------------------------
; WHO : ItemDrop::CItemDropManager::calcRank((unsigned short, int))
; WHAT : Affect the chance of chests
0x021AADB8 = li r3, 1 ; always GOLD chests
0x021AADBC = blr
; ----------------------------------------------------------------------------
; WHO : __CPR90__calcItemBronze__Q2_8ItemDrop16CItemDropManagerFRQ3_J19JJ28J9SDropInfoUc
; WHAT : Affect the drop ratio of materials
0x021AF5D8 = li r31, 0
0x021AF5F4 = li r31, 0
0x021AF610 = li r31, 0
; ----------------------------------------------------------------------------
; WHO : ItemDrop::CItemDropManager::calcItemNum((uchar))
; WHAT : Chances to loot multiples equipments (3 max)
0x021AB238 = li r11, 100 ; DRP_ItemNumTable - Lot_3
; ----------------------------------------------------------------------------
; WHO : __CPR98__calcItemTableID__Q2_8ItemDrop16CItemDropManagerFUcRCQ3_J20JJ29J11SCreateInfoRUs
; WHAT : Force some kind of equipment to be looted in Gold chests
; 2 = Ground weapons
; 4 = Ground armors
; 6 = Skell weapons
; 8 = Skell armors
0x021AEB88 = li r4, 6
0x021AEB5C = li r27, 6
; ----------------------------------------------------------------------------
; WHO : __CPR98__calcItemTableID__Q2_8ItemDrop16CItemDropManagerFUcRCQ3_J20JJ29J11SCreateInfoRUs
; WHAT : Always best equipment looted (X6X)
0x021AD710 = nop ; ground weapons ?
0x021ADA6C = nop ; ground armors
0x021ADDE8 = nop ; skell weapons
0x021AE164 = nop ; skell armors
; ----------------------------------------------------------------------------
; WHO : ItemDrop::CItemDropManager::calcAfxSltNum((unsigned short))
; WHAT : Control of the loot quality (always orange/yellow)
0x021AB380 = li r28, 100
0x021AB394 = li r29, 100
0x021AB3AC = li r30, 100