From 4932f8c69362844326616ad18b2b7da874f54b88 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Jul 2016 18:17:24 +0300 Subject: Play cast animation while casting skills. --- src/being/being.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index 810044956..3ee2c5ed1 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -1041,6 +1041,7 @@ class Being notfinal : public ActorSprite, void addCast(const int dstX, const int dstY, const int skillId, + const int skillLevel, const int range, const int waitTimeTicks); @@ -1090,6 +1091,7 @@ class Being notfinal : public ActorSprite, BeingInfo *restrict mInfo; AnimatedSprite *restrict mEmotionSprite; AnimatedSprite *restrict mAnimationEffect; + AnimatedSprite *restrict mCastingEffect; AnimatedSprite *restrict mBadges[BadgeIndex::BadgeIndexSize]; std::string mSpriteAction; @@ -1266,10 +1268,11 @@ class Being notfinal : public ActorSprite, int mManner; int mAreaSize; int mCastEndTime; - int mCastX1; - int mCastSize; - int mCastY1; - int mCastHeight; + int mCastRectX; + int mCastRectSize; + int mCastRectY; + int mCastAnimationX; + int mCastAnimationY; #ifdef EATHENA_SUPPORT BeingId mCreatorId; #endif -- cgit v1.2.3-70-g09d2