diff options
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 33727b136..1816b3bf5 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -233,6 +233,12 @@ class ItemInfo bool isRemoveSprites() const { return mIsRemoveSprites; } + void setMaxFloorOffset(int i) + { maxFloorOffset = i; } + + int getMaxFloorOffset() const + { return maxFloorOffset; } + bool isRemoveItemId(int id) const; /** Effects to be shown when weapon attacks - see also effects.xml */ @@ -297,6 +303,7 @@ class ItemInfo std::string mColorList; int mHitEffectId; int mCriticalHitEffectId; + int maxFloorOffset; }; #endif |