0.4.1 Bug Fixes & GdUnit Testing


Noticed a couple bugs so put in a suite of new GdUnit tests to verify that objects are working as they should. Big fix in this update is making Combined Odds drops work as intended.

DropsGenerator

  • Fixed a bug where _find_combined_drop was expecting a random value when it should have been expecting the max_range for the combined odds. It not generates the actual value in function to give correct generation results.

InventoryDrops

  • Made less restrictive by having functions take untyped Arrays rather than Arrays of Objects

Testing

  • Added GdUnit 4.5.0 tests to the demo project.
  • 54 of 54 tests passing (all new)

Files

item_drops_plugin_with_demo_0.4.1.zip 35 MB
5 days ago

Get Item Drops Plugin for Godot 4

Buy Now
On Sale!
15% Off
$20.00 $17.00 USD or more

Leave a comment

Log in with itch.io to leave a comment.