summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-23 23:19:30 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-23 23:19:30 +0300
commit91075015ad4b5bd576c1a5668a11ea0227dd6bd1 (patch)
tree181df7013e6bfdd41cad4f2e9f18ad8944b79d04 /src/resources/beinginfo.h
parent66f7df70fb03d487ae0c667adec3d5ad6e11721e (diff)
downloadmanaverse-91075015ad4b5bd576c1a5668a11ea0227dd6bd1.tar.gz
manaverse-91075015ad4b5bd576c1a5668a11ea0227dd6bd1.tar.bz2
manaverse-91075015ad4b5bd576c1a5668a11ea0227dd6bd1.tar.xz
manaverse-91075015ad4b5bd576c1a5668a11ea0227dd6bd1.zip
add support for attacksky and attackwater actions.
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h
index 5b2b7b87c..e9f1a6055 100644
--- a/src/resources/beinginfo.h
+++ b/src/resources/beinginfo.h
@@ -35,16 +35,21 @@
struct Attack final
{
std::string mAction;
+ std::string mSkyAction;
+ std::string mWaterAction;
int mEffectId;
int mHitEffectId;
int mCriticalHitEffectId;
int mMissEffectId;
std::string mMissileParticle;
- Attack(const std::string &action, const int effectId,
+ 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) :
mAction(action),
+ mSkyAction(skyAction),
+ mWaterAction(waterAction),
mEffectId(effectId),
mHitEffectId(hitEffectId),
mCriticalHitEffectId(criticalHitEffectId),
@@ -126,7 +131,8 @@ class BeingInfo final
const SoundInfo &getSound(const SoundEvent event)
const A_WARN_UNUSED;
- void addAttack(const int id, std::string action, const int effectId,
+ void addAttack(const int id, std::string action, std::string skyAttack,
+ std::string waterAttack, const int effectId,
const int hitEffectId, const int criticalHitEffectId,
const int missEffectId,
const std::string &missileParticle);