mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
*SpellBonusData for 54158
*Make passive tree of life aura affect casts out of shapeshidt. --HG-- branch : trunk
This commit is contained in:
3
sql/updates/4411_world_spell_bonus_data_TDB.sql
Normal file
3
sql/updates/4411_world_spell_bonus_data_TDB.sql
Normal 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)');
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user