From 26fa65d840e7f2c99c7c6f533bc92c80d04ce855 Mon Sep 17 00:00:00 2001 From: tomrus88 Date: Thu, 9 Jul 2009 12:26:21 +0400 Subject: [PATCH] Updated spell.dbc struct. --- src/game/DBCStructure.h | 12 +++++------- src/game/UpdateFields.h | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/game/DBCStructure.h b/src/game/DBCStructure.h index a2f2174e7..bcb4d1378 100644 --- a/src/game/DBCStructure.h +++ b/src/game/DBCStructure.h @@ -1303,11 +1303,11 @@ struct SpellEntry uint32 AttributesEx4; // 8 m_attributesExD uint32 AttributesEx5; // 9 m_attributesExE //uint32 AttributesEx6; // 10 m_attributesExF not used - // new 3.2 + // uint32 unk_320_1; // 3.2.0 (0x20 - totems, 0x4 - paladin auras, etc...) uint32 Stances; // 11 m_shapeshiftMask - // new 3.2 + // uint32 unk_320_2; // 3.2.0 uint32 StancesNot; // 12 m_shapeshiftExclude - // new 3.2 + // uint32 unk_320_3; // 3.2.0 uint32 Targets; // 13 m_targets uint32 TargetCreatureType; // 14 m_targetCreatureType uint32 RequiresSpellFocus; // 15 m_requiresSpellFocus @@ -1403,10 +1403,8 @@ struct SpellEntry uint32 runeCostID; // 229 m_runeCostID //uint32 spellMissileID; // 230 m_spellMissileID not used //uint32 PowerDisplayId; // 231 PowerDisplay.dbc, new in 3.1 - //uint32 unk1; // 3.2 - //uint32 unk2; // 3.2 - //uint32 unk3; // 3.2 - //uint32 unk4; // 3.2 + //float unk_320_4[3]; // 3.2.0 + //uint32 spellDescriptionVariablesID; // 3.2.0 // helpers int32 CalculateSimpleValue(uint8 eff) const { return EffectBasePoints[eff]+int32(EffectBaseDice[eff]); } diff --git a/src/game/UpdateFields.h b/src/game/UpdateFields.h index b0ca0a28d..34da679e4 100644 --- a/src/game/UpdateFields.h +++ b/src/game/UpdateFields.h @@ -375,7 +375,7 @@ enum EUnitFields PLAYER_FIELD_TODAY_CONTRIBUTION = UNIT_END + 0x041C, // Size: 1, Type: INT, Flags: PRIVATE PLAYER_FIELD_YESTERDAY_CONTRIBUTION = UNIT_END + 0x041D, // Size: 1, Type: INT, Flags: PRIVATE PLAYER_FIELD_LIFETIME_HONORBALE_KILLS = UNIT_END + 0x041E, // Size: 1, Type: INT, Flags: PRIVATE - PLAYER_FIELD_BYTES2 = UNIT_END + 0x041F, // Size: 1, Type: BYTES, Flags: PRIVATE + PLAYER_FIELD_BYTES2 = UNIT_END + 0x041F, // Size: 1, Type: 6, Flags: PRIVATE PLAYER_FIELD_WATCHED_FACTION_INDEX = UNIT_END + 0x0420, // Size: 1, Type: INT, Flags: PRIVATE PLAYER_FIELD_COMBAT_RATING_1 = UNIT_END + 0x0421, // Size: 25, Type: INT, Flags: PRIVATE PLAYER_FIELD_ARENA_TEAM_INFO_1_1 = UNIT_END + 0x043A, // Size: 18, Type: INT, Flags: PRIVATE