*SpellBonusData for 54158

*Make passive tree of life aura affect casts out of shapeshidt.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-10 03:03:32 +02:00
parent d27e5f3de1
commit 53ae349644
3 changed files with 4 additions and 3 deletions

View File

@@ -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)');

View File

@@ -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;

View File

@@ -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;