summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-06 03:54:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-06 03:54:00 +0300
commit4fb8f9f0905038f3180f108ec56b2a326ceb3483 (patch)
tree94b221f6bc81e07d565d2828dac078f471854b81 /src/resources/beinginfo.h
parentdf9a705c331da29cb0582539a817f68c79d4f267 (diff)
downloadplus-4fb8f9f0905038f3180f108ec56b2a326ceb3483.tar.gz
plus-4fb8f9f0905038f3180f108ec56b2a326ceb3483.tar.bz2
plus-4fb8f9f0905038f3180f108ec56b2a326ceb3483.tar.xz
plus-4fb8f9f0905038f3180f108ec56b2a326ceb3483.zip
Add particle effect miss-effect-id to items and monsters.
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h
index d08e85608..208fcd541 100644
--- a/src/resources/beinginfo.h
+++ b/src/resources/beinginfo.h
@@ -34,15 +34,17 @@ struct Attack final
int mEffectId;
int mHitEffectId;
int mCriticalHitEffectId;
+ int mMissEffectId;
std::string mMissileParticle;
Attack(const std::string &action, const int effectId,
const int hitEffectId, const int criticalHitEffectId,
- const std::string &missileParticle) :
+ const int missEffectId, const std::string &missileParticle) :
mAction(action),
mEffectId(effectId),
mHitEffectId(hitEffectId),
mCriticalHitEffectId(criticalHitEffectId),
+ mMissEffectId(missEffectId),
mMissileParticle(missileParticle)
{
}
@@ -105,9 +107,9 @@ class BeingInfo final
const std::string &getSound(const SoundEvent event) const;
- void addAttack(const int id, std::string action,
+ void addAttack(const int id, std::string action, const int effectId,
const int hitEffectId, const int criticalHitEffectId,
- const int effectId,
+ const int missEffectId,
const std::string &missileParticle);
const Attack *getAttack(const int id) const;