Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@ namespace CreatureLib::Library {
|
||||
inline AttackTarget GetTarget() const noexcept { return _target; }
|
||||
inline int8_t GetPriority() const noexcept { return _priority; }
|
||||
inline bool HasSecondaryEffect() const noexcept {
|
||||
return _effect != nullptr && !_effect->GetEffectName().Empty();
|
||||
return _effect != nullptr && !_effect->GetEffectName().IsEmpty();
|
||||
}
|
||||
inline const std::unique_ptr<const SecondaryEffect>& GetSecondaryEffect() const noexcept { return _effect; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user