mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
*Correct diminishing returns for charge and linked spell for Stoneform.
--HG-- branch : trunk
This commit is contained in:
@@ -68,7 +68,7 @@ INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comm
|
||||
(48384, 50170, 2, 'Improved Moonkin Form'),
|
||||
(48395, 50171, 2, 'Improved Moonkin Form'),
|
||||
(48396, 50172, 2, 'Improved Moonkin Form'),
|
||||
( 20594, 65116, 2, 'Stoneform'),
|
||||
( 20594, 65116, 0, 'Stoneform'),
|
||||
|
||||
-- Creature
|
||||
( 36574, 36650, 0, 'Apply Phase Slip Vulnerability'),
|
||||
|
||||
3
sql/updates/4510_world_spell_linked_spell.sql
Normal file
3
sql/updates/4510_world_spell_linked_spell.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (20594);
|
||||
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
|
||||
( 20594, 65116, 0, 'Stoneform');
|
||||
@@ -2913,8 +2913,8 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
|
||||
// Intimidating Shout
|
||||
else if (spellproto->SpellFamilyFlags[0] & 0x40000)
|
||||
return DIMINISHING_FEAR_BLIND;
|
||||
// Charge
|
||||
else if (spellproto->SpellFamilyFlags[0] & 0x1)
|
||||
// Charge Stun
|
||||
else if (spellproto->SpellFamilyFlags[0] & 0x01000000)
|
||||
return DIMINISHING_NONE;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user