From 38c7345e781e9f6e645f703ffe178849a2140301 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 24 Dec 2013 15:23:26 +0300 Subject: add support for warp pets if distance very long. New pet db option: warpDistance --- src/resources/beinginfo.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/resources/beinginfo.h') 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; -- cgit v1.2.3-70-g09d2