Closed dorkster closed 12 years ago
Awesome! Merged and tested in Poly, and it works perfectly!
I suppose it's fine for now to list all elements in the Character menu. For Flare The Game we might actually just use fire and ice.
If it comes up later, where a game wants lots of interacting elements but the player's equipment only affects a subset, we can update the config file to show whether each element is visible or not in the Character menu.
Or, perhaps a smarter option: could we display elemental resist on the Character menu only when the value is above 0? I guess that isn't a perfect solution though. All it would take is one item/spell that gives 1% Resist All to make the menu list everything.
So yeah, keep in mind that later we might mark these visible or not in the elements.txt file.
Works with existing game data. I added all the types that were in PowerManager.h, though I'm not sure if we want all of those (each one is displayed in MenuCharacter).