11 Commits
Author SHA1 Message Date
Matthew Fioravante 478449dcbd Add Actor Change Unit tests 2020-09-30 11:40:02 -04:00
Matthew Fioravante cd7d470f5b Game_Actor::CalculateSpCost() - support weapon types 2020-09-14 18:31:10 -04:00
Matthew Fioravante d657480b0e Actor Stat battle values always clamped to 9999
Confirmed in 2k legacy, 2k updated, and 2ke
2020-09-11 00:57:40 -04:00
Matthew Fioravante c83a9b6a3f Fix compiler warnings in tests 2020-09-10 21:31:28 -04:00
Matthew Fioravante 9f9135cb3e Add Algo unit tests + bug fixes 2020-09-10 21:31:28 -04:00
Matthew Fioravante b295084b64 Refactor weapon id
* Use an enum type
* Add WeaponNone
* Count from 1 - to make equipment setting in actor and allow none
2020-09-10 21:31:27 -04:00
Matthew Fioravante 5c9a6e3f1f Refactor Battler attributes
* Do atribute shift logic in base class
* GetBaseAttributeRate() virtual for actor vs enemy rate lookup
* Remove rate -> modifier from classes, use Attribute library instead
* Update unit tests
* Add unit tests for equipment attribute bonus
2020-09-10 21:31:27 -04:00
Matthew Fioravante 96d4a8ac84 Add Attribute unit tests + fix bugs 2020-09-10 21:31:27 -04:00
Matthew Fioravante 3bc0f5b3ba Refactor Game_Actor unit test 2020-09-10 21:31:26 -04:00
Matthew Fioravante 8bbfde5c3b Refactor Game_Actors into an object 2020-09-10 21:31:26 -04:00
Matthew Fioravante 915e97328e Game_Battler: Allow computing stats as if single weapon equipped 2020-09-10 21:31:25 -04:00