Luigi's Mansion Map

Luigi's Mansion Map

6.1k Downloads

Loot chances are wrong

Dhranios opened this issue ยท 0 comments

commented

Describe the bug
Furniture loot chances do not follow the original game

To Reproduce
Steps to reproduce the behavior:

  1. Inspect Parlor furniture
  2. Notice low money drop chances

Expected behavior

  • ceiling surprises drop a heart 100% of the time
  • non-boo non-portrait ghosts with HP drop a heart 100% of the time when vacuuming multiple at once, and never a poison mushroom
  • non-boo non-portrait ghosts with HP drop loot of 03/0D below, depending on killer's health, unless they have pre-defined loot or match the above loot providing

random value 1..100, set loot based on it; for newly searched furniture, and reeling in ghosts

Portrait ghosts:
SECONDS. LOOT
65. -> 35
10. mushroom
15. heart
20. mushroom
30. mushroom
35. heart
40. mushroom
50. mushroom
55. mushroom
60. mushroom
(rename entity variable to timer_loot)

Furniture:
normal:
00: 100% nothing
01: 100% nothing
02: 50% Money, 35% Nothing, 10% Moving Heart, 5% Poison (Health dependent, when player is at 30 HP or lower, selects 0C instead)
03: 85% nothing, 15% Heart (Health dependent, when player is at 30 HP or lower, selects 0D instead)
04: 100% Fortune-teller's Room key
05: 100% Hallway 8 key
06: 100% Secret Altar key
07: 100% Mario's letter
08: 100% Mario's hat
09: 50% Moving Heart, 50% nothing
0A: 100% Large Heart
0B: 100% money
0C: 80% Moving Heart/ 20% Nothing
0D: 50% Heart , 50% nothing
0E: 100% Heart
0F: 100% Moving Heart

PAL Hidden:
00: 100% Nothing
01: 100% Nothing
02: 50% Money, 10% Moving Heart, 10% Poison, 30% Nothing (Health dependent, when player is at 30 HP or lower, selects 0C instead)
03: 10% Heart, 10% Poison, 80% nothing (Health dependent, when player is at 30 HP or lower, selects 0D instead)
04: 100% Fortune-teller's Room key
05: 100% Hallway 8 key
06: 100% Secret Altar key
07: 100% Mario's letter
08: 100% Mario's hat
09: 20% Moving Heart, 15% poison, 65% Nothing
0A: 60% Moving Heart, 40% Nothing
0B: 100% Money
0C: 25% Money, 20% heart, 5% poison, 50% nothing
0D: 30% heart, 15% poison, 55% nothing
0E: 100% heart
0F: 100% Moving Heart
10: 10% Large Heart, 70% small heart, 20% nothing
11: 10% heart, 20% poison, 70% nothing
12: 100% large heart
13: 15% Moving Heart, 85% nothing
14: 30% Moving Heart, 70% nothing

Map version:
DEV

Enabled add-ons
N/A