summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
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 5d7b2f15f..27191f92e 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -228,6 +228,12 @@ class ItemInfo final
int getPet() const
{ return mPet; }
+ void setCardColor(const ItemColor color)
+ { mCardColor = color; }
+
+ ItemColor getCardColor() const
+ { return mCardColor; }
+
/** Effects to be shown when weapon attacks - see also effects.xml */
std::string mMissileParticleFile;
@@ -320,6 +326,7 @@ class ItemInfo final
std::map <int, int> mTags;
const std::map <ItemColor, ColorDB::ItemColorData> *mColorsList;
std::string mColorsListName;
+ ItemColor mCardColor;
int mHitEffectId;
int mCriticalHitEffectId;
int mMissEffectId;