diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-24 15:23:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-24 15:23:26 +0300 |
commit | 38c7345e781e9f6e645f703ffe178849a2140301 (patch) | |
tree | fc62b7fc5b346cf755e5b33d3cf52b3550050838 /src/resources/beinginfo.h | |
parent | a1f5338e93e5f8b2bdac2c305824a925fd2e4141 (diff) | |
download | mv-38c7345e781e9f6e645f703ffe178849a2140301.tar.gz mv-38c7345e781e9f6e645f703ffe178849a2140301.tar.bz2 mv-38c7345e781e9f6e645f703ffe178849a2140301.tar.xz mv-38c7345e781e9f6e645f703ffe178849a2140301.zip |
add support for warp pets if distance very long.
New pet db option: warpDistance
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r-- | src/resources/beinginfo.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index 556088380..b776c20ff 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -242,6 +242,12 @@ class BeingInfo final int getWalkSpeed() { return mWalkSpeed; } + void setWarpDist(const int n) + { mWarpDist = n; } + + int getWarpDist() + { return mWarpDist; } + void setColorsList(const std::string &name); std::string getColor(const int idx) const; @@ -274,6 +280,7 @@ class BeingInfo final int mHeight; int mStartFollowDist; int mFollowDist; + int mWarpDist; int mWalkSpeed; bool mStaticMaxHP; bool mTargetSelection; |