*added code for loading Spelldifficulty.dbc + Custom Spelldifficulty from Database

*added spell searcher based on creature's map difficulty, usage is optional and only for scipts for now
*added new table spelldifficulty_dbc

--HG--
branch : trunk
This commit is contained in:
Rat
2010-04-09 10:47:11 +02:00
parent 1f46c1150d
commit cbbe587817
11 changed files with 110 additions and 4 deletions
+6
View File
@@ -1545,6 +1545,12 @@ struct SpellCastTimesEntry
//int32 MinCastTime; // 3 unsure
};
struct SpellDifficultyEntry
{
uint32 ID; // 0
int32 SpellID[MAX_DIFFICULTY]; // 1-4 instance modes: 10N,25N,10H,25H or Normal/Heroic if only 1-2 is set, if 3-4 is 0 then Mode-2
};
struct SpellFocusObjectEntry
{
uint32 ID; // 0