[8069] Fixed copy/paste mistake in achievement error output. Author: Saeba
[8070] Restore spell casting loot items and recipes. * SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3 * It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without template replace spells like clam loot spells) Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with itemtype==0 Note: required DB support in `spell_loot_termplate` Author: VladimirMangos --HG-- branch : trunk
This commit is contained in:
@@ -220,7 +220,7 @@ bool AchievementCriteriaData::IsValid(AchievementCriteriaEntry const* criteria)
|
||||
if(drunk.state >= MAX_DRUNKEN)
|
||||
{
|
||||
sLog.outErrorDb( "Table `achievement_criteria_data` (Entry: %u Type: %u) for data type ACHIEVEMENT_CRITERIA_DATA_TYPE_S_DRUNK (%u) have unknown drunken state in value1 (%u), ignore.",
|
||||
criteria->ID, criteria->requiredType,dataType,drunk.state);
|
||||
criteria->ID, criteria->requiredType,dataType,holiday.id);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user