npc-stats
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Description

Library of classes to model videogame stats for NPCs.

Classes available

There are two kind of stats avaliable: PhysicalStats and MentalStats. Both work pretty similar, but PhysicalStats accepts generation using a Profile. There is a ProfileFactory that allows to specify the ProfileKind and the ProfileLevel, the obtained Profile instance can be used in the PhysicalStats.generateFrom method to get the stats instance.

Readme

Keywords

Package Sidebar

Install

npm i npc-stats

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

88.4 kB

Total Files

17

Last publish

Collaborators

  • ivsaez