This is a "proposal" for a way to use ref_data with RefCounted objects instead of Dictionaries.
I think it will be a little bit easier to create new ones when you don't want to override a lot of stats, adds type completion when using it in code, and automates passing the data from UnitData to ActorStats, so we don't have to give it maintenance, just add the same property on both and it works.
This is a "proposal" for a way to use ref_data with RefCounted objects instead of Dictionaries.
I think it will be a little bit easier to create new ones when you don't want to override a lot of stats, adds type completion when using it in code, and automates passing the data from UnitData to ActorStats, so we don't have to give it maintenance, just add the same property on both and it works.