summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.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/iteminfo.h
parentdf9a705c331da29cb0582539a817f68c79d4f267 (diff)
downloadmv-4fb8f9f0905038f3180f108ec56b2a326ceb3483.tar.gz
mv-4fb8f9f0905038f3180f108ec56b2a326ceb3483.tar.bz2
mv-4fb8f9f0905038f3180f108ec56b2a326ceb3483.tar.xz
mv-4fb8f9f0905038f3180f108ec56b2a326ceb3483.zip
Add particle effect miss-effect-id to items and monsters.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 644b80154..ba429341d 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -194,6 +194,12 @@ class ItemInfo final
int getCriticalHitEffectId() const
{ return mCriticalHitEffectId; }
+ void setMissEffectId(const int s)
+ { mMissEffectId = s; }
+
+ int getMissEffectId() const
+ { return mMissEffectId; }
+
const std::string &getAttackAction() const
{ return mAttackAction; }
@@ -306,6 +312,7 @@ class ItemInfo final
std::string mColorList;
int mHitEffectId;
int mCriticalHitEffectId;
+ int mMissEffectId;
int maxFloorOffset;
};