diff options
| author | QAston <none@none> | 2009-07-10 03:03:32 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-07-10 03:03:32 +0200 |
| commit | 53ae34964453378874dfd445d55fbff1a4553939 (patch) | |
| tree | 898455cb56e78ea41d7906a0f777522e7d8c0bb2 | |
| parent | d27e5f3de143f0d3273df39fcc79c5012267f03b (diff) | |
*SpellBonusData for 54158
*Make passive tree of life aura affect casts out of shapeshidt.
--HG--
branch : trunk
| -rw-r--r-- | sql/updates/4411_world_spell_bonus_data_TDB.sql | 3 | ||||
| -rw-r--r-- | src/game/Player.cpp | 1 | ||||
| -rw-r--r-- | src/game/SpellAuras.cpp | 3 |
3 files changed, 4 insertions, 3 deletions
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; |
