summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pawn.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/Pawn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Entities/Pawn.h b/src/Entities/Pawn.h
index 1a9285b77..ab8d66a58 100644
--- a/src/Entities/Pawn.h
+++ b/src/Entities/Pawn.h
@@ -71,6 +71,7 @@ public:
cEntityEffect * GetEntityEffect(cEntityEffect::eType a_EffectType) const;
protected:
+
typedef std::map<cEntityEffect::eType, std::unique_ptr<cEntityEffect>> tEffectMap;
tEffectMap m_EntityEffects;
@@ -83,4 +84,8 @@ private:
/** A list of all monsters that are targeting this pawn. */
std::vector<cMonster*> m_TargetingMe;
+
+ /** Attempt to activate a Totem of Undying.
+ If activation for the given type of damage was successful, consumes the totem and returns true. */
+ bool DeductTotem(eDamageType a_DamageType);
} ; // tolua_export