aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhaha <none@none>2009-10-17 18:12:21 +0200
committerMuhaha <none@none>2009-10-17 18:12:21 +0200
commit6438a91592ae9e65ba6a77f2babebb831b61e816 (patch)
tree470bfda32b1d0a255c0bcd61e14461728cb3340b
parentfb8b0143072dd6fb91f0ec3760995d4a27c494c7 (diff)
Fix Faerie Fire (feral) - Damage. Original Author: Nevan.
--HG-- branch : trunk
-rw-r--r--sql/updates/5950_world.sql3
-rw-r--r--src/game/Spell.cpp12
2 files changed, 3 insertions, 12 deletions
diff --git a/sql/updates/5950_world.sql b/sql/updates/5950_world.sql
new file mode 100644
index 00000000000..379469682be
--- /dev/null
+++ b/sql/updates/5950_world.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger`='16857';
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( 16857, 60089, 0, 'Faerie Fire (Feral)');
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 5301eb4069b..cb0236967ab 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2874,18 +2874,6 @@ void Spell::cast(bool skipCheck)
m_preCastSpell = 11196; // Recently Bandaged
break;
}
- case SPELLFAMILY_DRUID:
- {
- // Faerie Fire (Feral)
- if (m_spellInfo->SpellFamilyFlags[0] & 0x00000400)
- {
- // Trigger only if has correct shapeshift for triggered spell
- SpellEntry const * spellInfo = sSpellStore.LookupEntry(60089);
- if (GetErrorAtShapeshiftedCast(spellInfo, m_caster->m_form) == SPELL_CAST_OK)
- m_preCastSpell = 60089;
- }
- break;
- }
}
// traded items have trade slot instead of guid in m_itemTargetGUID
// set to real guid to be sent later to the client