don-tnowe / godot-wyvernbox-inventory

Action RPG-focused inventory system for Godot 3 and 4
MIT License
105 stars 4 forks source link

Account for suffixed stat bonuses on equipment #27

Closed don-tnowe closed 12 months ago

don-tnowe commented 1 year ago

Wyvernshield has set_suffixed() to store both a stat and a modification type (flat, percent, multiplier etc.) in one string. Wyvernbox's example was created before that.

The systems within that check against a dictionary of stat IDs must be updated to also cut off one character from the end if a key wasn't found.