Ru-MaNGOS

Ru-MaNGOS (http://mangos.ytdb.ru/index.php)
-   Патчи на рассмотрении (http://mangos.ytdb.ru/forumdisplay.php?f=49)
-   -   [patch] Warrior T8 Melee Bonus (http://mangos.ytdb.ru/showthread.php?t=4348)

Den 09.05.2011 11:48

[patch] Warrior T8 Melee Bonus
 
1-й бонус:

Код:

INSERT INTO `spell_proc_event` VALUES (64938, 0x00,  4, 0x00200040, 0x00200040, 0x00200040, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000,  0);
2-й бонус:

Код:

diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 114734a..b7a9ba3 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2987,6 +2987,13 @@ void Spell::cast(bool skipCheck)
                if (m_caster->HasAura(58375))              // Glyph of Blocking
                    AddTriggeredSpell(58374);              // Glyph of Blocking
            }
+            // Slam and Execute
+            else if ((m_spellInfo->SpellIconID == 559 && m_spellInfo->SpellVisual[0] == 1165) ||
+                (m_spellInfo->SpellIconID == 1648 && m_spellInfo->SpellVisual[0] == 250))
+            {
+                if (m_caster->HasAura(70847))              // Item - Warrior T10 Melee 4P Bonus
+                    AddTriggeredSpell(70849);              // Extra Charge!
+            }
            break;
        }
        case SPELLFAMILY_PRIEST:



Текущее время: 18:28. Часовой пояс GMT +3.

ru-mangos.ru - Русское сообщество MaNGOS