From 8f24400fc10658db9636e6cdd315504d75c71a5d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 20 Jan 2014 21:09:46 +0300 Subject: add attack action for pets. New pets db attributes: attackOffsetX attackOffsetY attaclDirectionType --- src/resources/beinginfo.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resources/beinginfo.cpp') 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) { -- cgit v1.2.3-60-g2f50