diff options
Diffstat (limited to 'src/being/playerinfo.cpp')
-rw-r--r-- | src/being/playerinfo.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index ff69a0d34..ea1ee8388 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -59,6 +59,7 @@ std::string mRoomName; Equipment *mEquipment = nullptr; BeingId mPetBeingId = BeingId_zero; GuildPositionFlags::Type mGuildPositionFlags = GuildPositionFlags::None; +BeingId mElementalId = BeingId_zero; Trading mTrading = Trading_false; bool mVending = false; @@ -521,6 +522,16 @@ void setMercenaryBeing(Being *const being) being->setAttackRange(mMercenary->range); } +void setElemental(const BeingId id) +{ + mElementalId = id; +} + +BeingId getElementalId() +{ + return mElementalId; +} + MercenaryInfo *getMercenary() { return mMercenary; |