mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Conditions: Added more infos for CONDITION_SPELL error log
This commit is contained in:
@@ -1756,9 +1756,9 @@ bool ConditionMgr::isConditionTypeValid(Condition* cond)
|
||||
}
|
||||
|
||||
if (cond->ConditionValue2)
|
||||
TC_LOG_ERROR("sql.sql", "Spell condition has useless data in value2 (%u)!", cond->ConditionValue2);
|
||||
TC_LOG_ERROR("sql.sql", "Spell condition has useless data (spell Id: %d) in value2 (%u)!", cond->ConditionValue1, cond->ConditionValue2);
|
||||
if (cond->ConditionValue3)
|
||||
TC_LOG_ERROR("sql.sql", "Spell condition has useless data in value3 (%u)!", cond->ConditionValue3);
|
||||
TC_LOG_ERROR("sql.sql", "Spell condition has useless data (spell Id: %d) in value3 (%u)!", cond->ConditionValue1, cond->ConditionValue3);
|
||||
break;
|
||||
}
|
||||
case CONDITION_LEVEL:
|
||||
|
||||
Reference in New Issue
Block a user