mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Conditions: Allow empty (CONDITION_NONE) conditions with just script attached
This commit is contained in:
@@ -256,7 +256,7 @@ struct TC_GAME_API Condition
|
||||
|
||||
bool Meets(ConditionSourceInfo& sourceInfo) const;
|
||||
uint32 GetSearcherTypeMaskForCondition() const;
|
||||
bool isLoaded() const { return ConditionType > CONDITION_NONE || ReferenceId; }
|
||||
bool isLoaded() const { return ConditionType > CONDITION_NONE || ReferenceId || ScriptId; }
|
||||
uint32 GetMaxAvailableConditionTargets() const;
|
||||
|
||||
std::string ToString(bool ext = false) const; /// For logging purpose
|
||||
|
||||
Reference in New Issue
Block a user