Medacorp / Luigi-s-Mansion

The Luigi's Mansion map for Minecraft: Java Edition.
MIT License
11 stars 0 forks source link

Loot chances are wrong #102

Open Dhranios opened 1 month ago

Dhranios commented 1 month ago

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

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

Portrait ghosts: SECONDS. LOOT

  1. mushroom
  2. heart
  3. mushroom
  4. mushroom
  5. heart
  6. mushroom
  7. mushroom
  8. mushroom
  9. mushroom
  10. -> 35 (rename entity variable to timer_loot)

Furniture: normal: 00: 100% nothing 01: 100% nothing 02: 50% Money, 35% Nothing, 10% Moving Heart, 5% Poison 03: 85% nothing, 15% Heart
04: 100% key_4 05: 100% key_74 06: 100% key_72 07: 100% mletter 08: 100% mcap 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 03: 10% Heart, 10% Poison, 80% nothing 04: 100% key_4 05: 100% key_74 06: 100% key_72 07: 100% mletter 08: 100% mcap 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