mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
move checks for invincible bonus to UnitState & cache
This commit is contained in:
@@ -58,6 +58,7 @@ public:
|
||||
MOCK_CONST_METHOD1(isValidTarget, bool(bool));
|
||||
|
||||
MOCK_CONST_METHOD0(isHypnotized, bool());
|
||||
MOCK_CONST_METHOD0(isInvincible, bool());
|
||||
MOCK_CONST_METHOD0(isClone, bool());
|
||||
MOCK_CONST_METHOD0(hasClone, bool());
|
||||
MOCK_CONST_METHOD0(canCast, bool());
|
||||
|
||||
Reference in New Issue
Block a user