diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-20 21:09:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-20 21:09:46 +0300 |
commit | 8f24400fc10658db9636e6cdd315504d75c71a5d (patch) | |
tree | f2f5a1094f6c48040b87238612d4042704846e40 /src/resources/beinginfo.cpp | |
parent | 1f2dd660dad937a3c1f2a2dfc07b756965e4ddae (diff) | |
download | manaplus-8f24400fc10658db9636e6cdd315504d75c71a5d.tar.gz manaplus-8f24400fc10658db9636e6cdd315504d75c71a5d.tar.bz2 manaplus-8f24400fc10658db9636e6cdd315504d75c71a5d.tar.xz manaplus-8f24400fc10658db9636e6cdd315504d75c71a5d.zip |
add attack action for pets.
New pets db attributes:
attackOffsetX
attackOffsetY
attaclDirectionType
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r-- | src/resources/beinginfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index 38c141d63..40ea7af1a 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -70,10 +70,13 @@ BeingInfo::BeingInfo() : mMoveOffsetY(0), mDeadOffsetX(0), mDeadOffsetY(0), + mAttackOffsetX(0), + mAttackOffsetY(0), mThinkTime(50), mDirectionType(1), mSitDirectionType(1), mDeadDirectionType(1), + mAttackDirectionType(1), mStaticMaxHP(false), mTargetSelection(true) { |