|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <world.h>
Public Attributes | |
| int | damage = 0 |
| int | health = 0 |
| int | armour = 0 |
| const items::Weapon * | weapon = nullptr |
| The weapon in the player's main hand, from the content, or nullptr. | |
What a player's worn items add up to, worked out as what they wear changes, so that a fight doesn't add it up for each blow.
| const items::Weapon* nanommo::Stats::weapon = nullptr |