Bug - Fixed Restorer proxy fields incorrectly 0 on some items

PeKaJe

Member
While scripting I discovered that many restoring items had 0 in minhp/maxhp/minmp/maxmp despite being defined in restores.txt.
It appears that this happens for every item that has a capital letter in its name.
 

heeheehee

Developer
Staff member
Okay. It looks like the issue is that StringUtilities.getCanonicalName converts the item name to lowercase, and RestoresDatabase can't find the lowercase name. r17066 fixes this.
 
Top