mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
Some improvements to some things.
This commit is contained in:
@@ -116,6 +116,7 @@ public:
|
||||
bool isWalking() { return m_walking; }
|
||||
bool isRemoved() { return m_removed; }
|
||||
bool isInvisible() { return m_outfit.getCategory() == ThingCategoryEffect && m_outfit.getAuxId() == 13; }
|
||||
bool isDead() { return m_healthPercent <= 0; }
|
||||
bool canBeSeen() { return !isInvisible() || isPlayer(); }
|
||||
|
||||
bool isCreature() { return true; }
|
||||
|
Reference in New Issue
Block a user