Core/Misc:

- Add missing spell effects
- One missing area flag
- Added some fields to AreaTableEntry fields that now has previously been empty
(4.2.2)
This commit is contained in:
kaelima
2011-11-30 21:25:20 +01:00
parent e8b51cc25c
commit b0d106944b
3 changed files with 30 additions and 8 deletions

View File

@@ -273,8 +273,6 @@ enum AchievementCriteriaMoreReqType
ACHIEVEMENT_CRITERIA_MORE_REQ_TYPE_GUILD_REP = 62,
};
enum AchievementCategory
{
CATEGORY_CHILDRENS_WEEK = 163,
@@ -310,7 +308,8 @@ enum AreaFlags
AREA_FLAG_INSIDE = 0x02000000, // used for determinating spell related inside/outside questions in Map::IsOutdoors
AREA_FLAG_OUTSIDE = 0x04000000, // used for determinating spell related inside/outside questions in Map::IsOutdoors
AREA_FLAG_WINTERGRASP_2 = 0x08000000, // Same as AREA_FLAG_WINTERGRASP except for The Sunken Ring and Western Bridge.
AREA_FLAG_NO_FLY_ZONE = 0x20000000 // Marks zones where you cannot fly
AREA_FLAG_NO_FLY_ZONE = 0x20000000, // Marks zones where you cannot fly
AREA_FLAG_UNK9 = 0x40000000,
};
enum Difficulty

View File

@@ -536,12 +536,22 @@ struct AreaTableEntry
uint32 mapid; // 1
uint32 zone; // 2 if 0 then it's zone, else it's zone id of this area
uint32 exploreFlag; // 3, main index
uint32 flags; // 4, unknown value but 312 for all cities
// 5-9 unused
uint32 flags; // 4,
//uint32 unk5; // 5,
//uint32 unk6; // 6,
//uint32 unk7; // 7,
//uint32 unk8; // 8,
//uint32 unk9; // 9,
int32 area_level; // 10
char* area_name; // 11
char* area_name; // 11
uint32 team; // 12
// 13-19 unknown
//uint32 unk13; // 13,
//uint32 unk14; // 14, All zeros (4.2.2)
//uint32 unk15; // 15,
//uint32 unk16; // 16, Only Naxxramas has value (21)
//float unk13; // 17,
//float unk13; // 18,
//uint32 unk19; // 19, All zeros (4.2.2)
//uint32 unk20; // 20 4.0.0
//uint32 unk21; // 21 4.0.0
//uint32 unk22; // 22 4.0.0

View File

@@ -831,7 +831,20 @@ enum SpellEffects
SPELL_EFFECT_TALENT_SPEC_SELECT = 162,
SPELL_EFFECT_163 = 163,
SPELL_EFFECT_REMOVE_AURA = 164,
TOTAL_SPELL_EFFECTS = 165
SPELL_EFFECT_165 = 165,
SPELL_EFFECT_166 = 166,
SPELL_EFFECT_167 = 167,
SPELL_EFFECT_168 = 168,
SPELL_EFFECT_169 = 169,
SPELL_EFFECT_170 = 170,
SPELL_EFFECT_171 = 171, // Summons gamebject
SPELL_EFFECT_172 = 172, // Aoe ressurection
SPELL_EFFECT_173 = 173, // Guild tab unlocked (guild perk)
SPELL_EFFECT_174 = 174, //
SPELL_EFFECT_175 = 175, // Unused (4.2.2)
SPELL_EFFECT_176 = 176, // Some kind of sanctuary effect (Vanish)
SPELL_EFFECT_177 = 177,
TOTAL_SPELL_EFFECTS = 178,
};
enum SpellCastResult