[9131] Use more generic check for IsLootCraftingSpell

This include spell 69412 to autoloot generation spells.
This commit is contained in:
VladimirMangos 2010-01-09 18:28:47 +03:00
parent 57f495de35
commit 51cb5b356a
2 changed files with 3 additions and 2 deletions

View file

@ -180,7 +180,8 @@ inline bool IsLootCraftingSpell(SpellEntry const *spellInfo)
{
return (spellInfo->Effect[0]==SPELL_EFFECT_CREATE_RANDOM_ITEM ||
// different random cards from Inscription (121==Virtuoso Inking Set category)
(spellInfo->Effect[0]==SPELL_EFFECT_CREATE_ITEM_2 && spellInfo->TotemCategory[0] == 121));
// also Abyssal Shatter (63), any !=0 infact
(spellInfo->Effect[0]==SPELL_EFFECT_CREATE_ITEM_2 && spellInfo->TotemCategory[0] != 0));
}
int32 CompareAuraRanks(uint32 spellId_1, uint32 effIndex_1, uint32 spellId_2, uint32 effIndex_2);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9130"
#define REVISION_NR "9131"
#endif // __REVISION_NR_H__