diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-02 15:45:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-02 15:45:57 +0300 |
commit | b17d7d87918b76323e08c0a5c09abd8fa1f3ed71 (patch) | |
tree | 03f523babd604b31bff687d50a5caa81723d3455 /src/playerinfo.h | |
parent | cfcdacfd6ed49916890a93d7565bd2a2d1f1e8f5 (diff) | |
download | manaplus-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.tar.gz manaplus-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.tar.bz2 manaplus-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.tar.xz manaplus-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.zip |
Add to status window attribute "damage per second".
Diffstat (limited to 'src/playerinfo.h')
-rw-r--r-- | src/playerinfo.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/playerinfo.h b/src/playerinfo.h index 401dd26e0..b90e47ce9 100644 --- a/src/playerinfo.h +++ b/src/playerinfo.h @@ -45,9 +45,10 @@ enum Attribute SKILL_POINTS, CHAR_POINTS, CORR_POINTS, - ATTACK_SPEED = 100, + ATTACK_DELAY = 100, ATTACK_RANGE = 101, - WALK_SPEED = 102 + WALK_SPEED = 102, + ATTACK_SPEED = 103 }; /** @@ -218,6 +219,8 @@ namespace PlayerInfo */ void setTrading(bool trading); + void updateAttrs(); + /** * Initializes some internals. */ |