aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-07-16 18:22:03 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-07-16 18:22:03 +0200
commit0e4816771a6e8ba6dcf4d81386d96841ff3c02a2 (patch)
treeedeb6beabb24c711dc81d1da758c1a74b946de74
parent0cb8e12adda73b3fe39be4c3e45ffe113600cb1a (diff)
Core/Conditions: Add more infos for invalid skill condition log error
-rw-r--r--src/server/game/Conditions/ConditionMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp
index dd3804cd9db..8007590cd37 100644
--- a/src/server/game/Conditions/ConditionMgr.cpp
+++ b/src/server/game/Conditions/ConditionMgr.cpp
@@ -1624,7 +1624,7 @@ bool ConditionMgr::isConditionTypeValid(Condition* cond)
if (cond->ConditionValue2 < 1 || cond->ConditionValue2 > sWorld->GetConfigMaxSkillValue())
{
- TC_LOG_ERROR(LOG_FILTER_SQL, "Skill condition specifies invalid skill value (%u), skipped", cond->ConditionValue2);
+ TC_LOG_ERROR(LOG_FILTER_SQL, "Skill condition specifies skill (%u) with invalid value (%u), skipped", cond->ConditionValue1, cond->ConditionValue2);
return false;
}
if (cond->ConditionValue3)