summaryrefslogtreecommitdiff
path: root/src/resources/attack.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-14 18:02:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-14 18:02:03 +0300
commit4edbdf124303f0e7c229f43a5054755e112ff6b4 (patch)
tree54d355cb568b07108c08db0f712c072d60c1a7ce /src/resources/attack.h
parent15424641cca695650f4b56c37711c12c81cf2c32 (diff)
downloadplus-4edbdf124303f0e7c229f43a5054755e112ff6b4.tar.gz
plus-4edbdf124303f0e7c229f43a5054755e112ff6b4.tar.bz2
plus-4edbdf124303f0e7c229f43a5054755e112ff6b4.tar.xz
plus-4edbdf124303f0e7c229f43a5054755e112ff6b4.zip
Fix attack sprite actions. Add ride attack action.
Diffstat (limited to 'src/resources/attack.h')
-rw-r--r--src/resources/attack.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/resources/attack.h b/src/resources/attack.h
index d904b40b5..578818db6 100644
--- a/src/resources/attack.h
+++ b/src/resources/attack.h
@@ -32,19 +32,26 @@ struct Attack final
std::string mAction;
std::string mSkyAction;
std::string mWaterAction;
+ std::string mRideAction;
int mEffectId;
int mHitEffectId;
int mCriticalHitEffectId;
int mMissEffectId;
std::string mMissileParticle;
- Attack(const std::string &action, const std::string &skyAction,
- const std::string &waterAction, const int effectId,
- const int hitEffectId, const int criticalHitEffectId,
- const int missEffectId, const std::string &missileParticle) :
+ Attack(const std::string &action,
+ const std::string &skyAction,
+ const std::string &waterAction,
+ const std::string &rideAction,
+ const int effectId,
+ const int hitEffectId,
+ const int criticalHitEffectId,
+ const int missEffectId,
+ const std::string &missileParticle) :
mAction(action),
mSkyAction(skyAction),
mWaterAction(waterAction),
+ mRideAction(rideAction),
mEffectId(effectId),
mHitEffectId(hitEffectId),
mCriticalHitEffectId(criticalHitEffectId),