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/net/manaserv | |
parent | cfcdacfd6ed49916890a93d7565bd2a2d1f1e8f5 (diff) | |
download | mv-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.tar.gz mv-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.tar.bz2 mv-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.tar.xz mv-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.zip |
Add to status window attribute "damage per second".
Diffstat (limited to 'src/net/manaserv')
-rw-r--r-- | src/net/manaserv/playerhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/manaserv/playerhandler.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/manaserv/playerhandler.cpp b/src/net/manaserv/playerhandler.cpp index 3dfddb436..da8958044 100644 --- a/src/net/manaserv/playerhandler.cpp +++ b/src/net/manaserv/playerhandler.cpp @@ -432,6 +432,11 @@ int PlayerHandler::getJobLocation() const return -1; } +int PlayerHandler::getAttackLocation() const +{ + return -1; +} + Vector PlayerHandler::getDefaultWalkSpeed() const { // Return translation in pixels per ticks. diff --git a/src/net/manaserv/playerhandler.h b/src/net/manaserv/playerhandler.h index dcd05d5fc..f00fea42a 100644 --- a/src/net/manaserv/playerhandler.h +++ b/src/net/manaserv/playerhandler.h @@ -74,6 +74,7 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler bool canCorrectAttributes() const; int getJobLocation() const; + int getAttackLocation() const; Vector getDefaultWalkSpeed() const; |