From b17d7d87918b76323e08c0a5c09abd8fa1f3ed71 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 2 Sep 2011 15:45:57 +0300 Subject: Add to status window attribute "damage per second". --- src/playerinfo.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/playerinfo.h') 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. */ -- cgit v1.2.3-70-g09d2