Skip to content

Minor refresh of Stats and Effects at Genre level

Choose a tag to compare

@github-actions github-actions released this 23 Apr 11:57
79857f5

While this is mainly a minor refresh in terms of functionality and changes, it has a wider impact due to part of the work expanding the default keys/indexes used for Effect/Stat types at the Genres level.

Historically we left a gap of 10 or so between types to allow for growth but now we need more space, so we have added new fields in and made a gap of about 20 between logical groups to allow for future extensions in the lower level libraries.

Due to this a lot of the values have changed, for code first approaches this wont matter but for any serialized data against previous versions it would need remapping to new indexes.

It is recommended you start your own Effects from around 1000+ now rather than about 500+ historically.

There have also been some new additions and a couple of changes at the Genres level.

  • *Magic based types and effects are not *Mana, historically Magic make sense but as we got more use cases Mana felt a better fit for representing the currency for using abilities/spells etc
  • Stamina related effects/stats have been added for scenarios where you potentially want to represent stamina separately to Mana
  • MovementSpeed related effects/stats have been added as in most cases you will want to be able to augment movement speed
  • CriticalRate and CriticalDamageMultiplier stats and effects have been added to allow us to provide a mechanism for supporting critical hits going forward

There will possibly be some more changes added soon around Ability changes, as you may want Race, Class, Item etc to provide inherent abilities to your entity, or maybe you just want to build your own ability list in which case it may be just against the Entity as its own thing, a bit like Effects.

It all needs a bit more thought but is on the horizon.