Menu

#962 Random items sometimes loads nothing from the treasurelist

2.x
open
nobody
None
Other (Please Specify in Description)
5
2024-12-15
2024-12-15
Rick Tanner
No

I discovered this while working on the Darcap Circus Wheel of Chance map at darcap/darcap/circus/wheel

A player has guaranteed chance to get 1 of 4 random treasure rewards in the map. However, sometimes the random reward loads nothing - as in an no item is loaded on top of the trapdoor pit so no reward is given to the player.

The possible rewards are unmodified archetypes found in the map editor:
random spells
random scroll
random potion
random treasure

No error message are in the server log per my testing.

Seems like there is something wrong with treasure list?

Enclosed is a test map with multiples copies of the treasure area from the Wheel of Chance map and screen shot showing that after a reset, about 1/4 of the treasure items did not load.

1 Attachments

Discussion

  • Rick Tanner

    Rick Tanner - 2024-12-15

    The map file.

     
  • Rick Tanner

    Rick Tanner - 2024-12-15

    As suggested in IRC/Discord, I adjusted the difficulty level and then tested map resets to see how that impacted treasure generation.

    TLDR; Appears that the higher the map level, the less empty treasure spots appeared.

    I adjusted the map difficulty level from 1, to 5, to 10 - and treasure generation was empty for at least 1 out of 4 items about 25% of the time. I adjusted to level 100 - and now there is only 2 empty spots with each map reset.

    level 50 difficulty, only 1 - 4 empty treasure spots appearing per reset

     

Log in to post a comment.

MongoDB Logo MongoDB