diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-05 22:36:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-05 22:36:53 +0300 |
commit | 69b5220d914fb3b874622dcbf8e0fbd4fd73d1f7 (patch) | |
tree | a1f58e14f61ec924018b32924132ddbd004a4c91 /src/resources/beinginfo.h | |
parent | e6d7fca349c28eaf98d643325dc99dd9d3a53568 (diff) | |
download | manaverse-69b5220d914fb3b874622dcbf8e0fbd4fd73d1f7.tar.gz manaverse-69b5220d914fb3b874622dcbf8e0fbd4fd73d1f7.tar.bz2 manaverse-69b5220d914fb3b874622dcbf8e0fbd4fd73d1f7.tar.xz manaverse-69b5220d914fb3b874622dcbf8e0fbd4fd73d1f7.zip |
Second part adding mob particle effects for attacks.
Base on commit from mana afa134640b2e2c7c0f28a54c8691545848795dd9
by Yohann Ferreira
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r-- | src/resources/beinginfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index ceaed6c40..306ac637d 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -32,12 +32,17 @@ struct Attack final { std::string mAction; int mEffectId; + int mHitEffectId; + int mCriticalHitEffectId; std::string mMissileParticle; Attack(const std::string &action, const int effectId, + const int hitEffectId, const int criticalHitEffectId, const std::string &missileParticle) : mAction(action), mEffectId(effectId), + mHitEffectId(hitEffectId), + mCriticalHitEffectId(criticalHitEffectId), mMissileParticle(missileParticle) { } @@ -101,6 +106,7 @@ class BeingInfo final const std::string &getSound(const SoundEvent event) const; void addAttack(const int id, std::string action, + const int hitEffectId, const int criticalHitEffectId, const int effectId, const std::string &missileParticle); |