summaryrefslogtreecommitdiff
path: root/src/net/manaserv
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-02 15:45:57 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-02 15:45:57 +0300
commitb17d7d87918b76323e08c0a5c09abd8fa1f3ed71 (patch)
tree03f523babd604b31bff687d50a5caa81723d3455 /src/net/manaserv
parentcfcdacfd6ed49916890a93d7565bd2a2d1f1e8f5 (diff)
downloadplus-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.tar.gz
plus-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.tar.bz2
plus-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.tar.xz
plus-b17d7d87918b76323e08c0a5c09abd8fa1f3ed71.zip
Add to status window attribute "damage per second".
Diffstat (limited to 'src/net/manaserv')
-rw-r--r--src/net/manaserv/playerhandler.cpp5
-rw-r--r--src/net/manaserv/playerhandler.h1
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;