From 53ae34964453378874dfd445d55fbff1a4553939 Mon Sep 17 00:00:00 2001 From: QAston Date: Fri, 10 Jul 2009 03:03:32 +0200 Subject: *SpellBonusData for 54158 *Make passive tree of life aura affect casts out of shapeshidt. --HG-- branch : trunk --- sql/updates/4411_world_spell_bonus_data_TDB.sql | 3 +++ src/game/Player.cpp | 1 - src/game/SpellAuras.cpp | 3 +-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 sql/updates/4411_world_spell_bonus_data_TDB.sql diff --git a/sql/updates/4411_world_spell_bonus_data_TDB.sql b/sql/updates/4411_world_spell_bonus_data_TDB.sql new file mode 100644 index 00000000000..3ac7c56f637 --- /dev/null +++ b/sql/updates/4411_world_spell_bonus_data_TDB.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_bonus_data` WHERE `entry` IN (54158); +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `comments`) VALUES +(54158, 0.25, 0, 0.16, 'Paladin - Jugdement (Seal of Light, Seal of Wisdom, Seal of Justice)'); \ No newline at end of file diff --git a/src/game/Player.cpp b/src/game/Player.cpp index b64bf13ffa1..84cb5f93064 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -3205,7 +3205,6 @@ bool Player::IsNeedCastPassiveSpellAtLearn(SpellEntry const* spellInfo) const switch(spellInfo->Id) { // some spells not have stance data expected cast at form change or present - case 5420: need_cast = (m_form == FORM_TREE); break; case 5419: need_cast = (m_form == FORM_TRAVEL); break; case 7376: need_cast = (m_form == FORM_DEFENSIVESTANCE); break; case 7381: need_cast = (m_form == FORM_BERSERKERSTANCE); break; diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 84755b8036e..dbf657afe3f 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1408,8 +1408,7 @@ void AuraEffect::HandleShapeshiftBoosts(bool apply) HotWSpellId = 24900; break; case FORM_TREE: - spellId = 5420; - spellId2 = 34123; + spellId = 34123; break; case FORM_TRAVEL: spellId = 5419; -- cgit v1.2.3