*Correct diminishing returns for charge and linked spell for Stoneform.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-19 14:56:18 +02:00
parent 94992adb64
commit b16ffa91b1
3 changed files with 6 additions and 3 deletions

View File

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

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

View File

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