aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAstellar <none@none>2010-01-07 20:56:09 +0300
committerAstellar <none@none>2010-01-07 20:56:09 +0300
commit4a6e9378defc1eba75653e8b74a13f7b96379f95 (patch)
tree9d2d80b88c6875b2a8990735dd7828edeaeac2e3 /src
parent7fff2a72a1e9e1b3e014fcec2f2a06f212342fe0 (diff)
Added meaning for one unknown 3.2.0 column in Spell.dbc.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/DBCStructure.h2
-rw-r--r--src/game/DBCfmt.h2
-rw-r--r--src/game/SharedDefines.h21
3 files changed, 23 insertions, 2 deletions
diff --git a/src/game/DBCStructure.h b/src/game/DBCStructure.h
index 48ba9c8ff44..9f84cda3155 100644
--- a/src/game/DBCStructure.h
+++ b/src/game/DBCStructure.h
@@ -1356,7 +1356,7 @@ struct SpellEntry
uint32 AttributesEx4; // 8 m_attributesExD
uint32 AttributesEx5; // 9 m_attributesExE
uint32 AttributesEx6; // 10 m_attributesExF
- // uint32 unk_320_1; // 11 3.2.0 (0x20 - totems, 0x4 - paladin auras, etc...)
+ uint32 AttributesEx7; // 11 3.2.0 (0x20 - totems, 0x4 - paladin auras, etc...)
uint32 Stances; // 12 m_shapeshiftMask
// uint32 unk_320_2; // 13 3.2.0
uint32 StancesNot; // 14 m_shapeshiftExclude
diff --git a/src/game/DBCfmt.h b/src/game/DBCfmt.h
index 6aa2dd23a77..6adb9462b10 100644
--- a/src/game/DBCfmt.h
+++ b/src/game/DBCfmt.h
@@ -87,7 +87,7 @@ const char SkillLineAbilityfmt[]="niiiixxiiiiixx";
const char SoundEntriesfmt[]="nxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
const char SpellCastTimefmt[]="nixx";
const char SpellDurationfmt[]="niii";
-const char SpellEntryfmt[]="niiiiiiiiiixixixiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiifxiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiffffffiiiiiiiiiiiiiiiiiiiiifffiiiiiiiiiiiiiiifffiiiiiiiiiiiiixssssssssssssssssxssssssssssssssssxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxiiiiiiiiiiixfffxxxiiiiixxxxxx";
+const char SpellEntryfmt[]="niiiiiiiiiiiixixiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiifxiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiffffffiiiiiiiiiiiiiiiiiiiiifffiiiiiiiiiiiiiiifffiiiiiiiiiiiiixssssssssssssssssxssssssssssssssssxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxiiiiiiiiiiixfffxxxiiiiixxxxxx";
const std::string CustomSpellEntryfmt="pappppppppaaaaaapaaaaaaaaaaapaaapapppppppaaaaapaapaaaaaaaaaaaaaaaaaappppppppppppppppppppppppppppppppppppppppppaaaaaapppppppppaaapppppppppaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaappppppppapppaaaaappaaaaaaa";
const std::string CustomSpellEntryIndex = "Id";
const char SpellFocusObjectfmt[]="nxxxxxxxxxxxxxxxxx";
diff --git a/src/game/SharedDefines.h b/src/game/SharedDefines.h
index 6d1b51b5545..1b5c094e28c 100644
--- a/src/game/SharedDefines.h
+++ b/src/game/SharedDefines.h
@@ -459,6 +459,27 @@ const uint32 ItemQualityColors[MAX_ITEM_QUALITY] = {
#define SPELL_ATTR_EX6_UNK30 0x40000000 // 30 not set in 3.0.3
#define SPELL_ATTR_EX6_UNK31 0x80000000 // 31 not set in 3.0.3
+#define SPELL_ATTR_EX7_UNK0 0x00000001 // 0 Shaman's new spells (Call of the ...), Feign Death.
+#define SPELL_ATTR_EX7_UNK1 0x00000002 // 1 Not set in 3.2.2a.
+#define SPELL_ATTR_EX7_REACTIVATE_AT_RESURRECT 0x00000004 // 2 Paladin's auras and 65607 only.
+#define SPELL_ATTR_EX7_UNK3 0x00000008 // 3 Only 43574 test spell.
+#define SPELL_ATTR_EX7_UNK4 0x00000010 // 4 Only 66109 test spell.
+#define SPELL_ATTR_EX7_SUMMON_PLAYER_TOTEM 0x00000020 // 5 Only Shaman player totems.
+#define SPELL_ATTR_EX7_UNK6 0x00000040 // 6 Dark Surge, Surge of Light, Burning Breath triggers (boss spells).
+#define SPELL_ATTR_EX7_UNK7 0x00000080 // 7 66218 (Launch) spell.
+#define SPELL_ATTR_EX7_UNK8 0x00000100 // 8 Teleports, mounts and other spells.
+#define SPELL_ATTR_EX7_UNK9 0x00000200 // 9 Teleports, mounts and other spells.
+#define SPELL_ATTR_EX7_DISPEL_CHARGES 0x00000400 // 10 Dispel and Spellsteal individual charges instead of whole aura.
+#define SPELL_ATTR_EX7_INTERRUPT_ONLY_NONPLAYER 0x00000800 // 11 Only non-player casts interrupt, though Feral Charge - Bear has it.
+#define SPELL_ATTR_EX7_UNK12 0x00001000 // 12 Not set in 3.2.2a.
+#define SPELL_ATTR_EX7_UNK13 0x00002000 // 13 Not set in 3.2.2a.
+#define SPELL_ATTR_EX7_UNK14 0x00004000 // 14 Only 52150 (Raise Dead - Pet) spell.
+#define SPELL_ATTR_EX7_UNK15 0x00008000 // 15 Exorcism. Usable on players? 100% crit chance on undead and demons?
+#define SPELL_ATTR_EX7_UNK16 0x00010000 // 16 Druid spells (29166, 54833, 64372, 68285).
+#define SPELL_ATTR_EX7_UNK17 0x00020000 // 17 Only 27965 (Suicide) spell.
+#define SPELL_ATTR_EX7_HAS_CHARGE_EFFECT 0x00040000 // 18 Only spells that have Charge among effects.
+#define SPELL_ATTR_EX7_ZONE_TELEPORT 0x00080000 // 19 Teleports to specific zones.
+
#define MIN_TALENT_SPEC 0
#define MAX_TALENT_SPEC 1
#define MIN_TALENT_SPECS 1