Ru-MaNGOS

Ru-MaNGOS (http://mangos.ytdb.ru/index.php)
-   Патчи на рассмотрении (http://mangos.ytdb.ru/forumdisplay.php?f=49)
-   -   [patch] Druid T10 Balance 4P Bonus (http://mangos.ytdb.ru/showthread.php?t=4398)

Den 12.05.2011 19:15

[patch] Druid T10 Balance 4P Bonus
 
Код:

diff --git a/src/game/UnitAuraProcHandler.cpp b/src/game/UnitAuraProcHandler.cpp
index 21117bd..60c8945 100644
--- a/src/game/UnitAuraProcHandler.cpp
+++ b/src/game/UnitAuraProcHandler.cpp
@@ -1598,6 +1598,13 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
                    pVictim->CastSpell(second, procSpell, true, NULL, triggeredByAura, GetGUID());
                    return SPELL_AURA_PROC_OK;
                }
+                // Item - Druid T10 Balance 4P Bonus
+                case 70723:
+                {
+                    basepoints[0] = int32(triggerAmount * damage / 100);
+                    triggered_spell_id = 71023; // Languish
+                    break;
+                }
            }
            // King of the Jungle
            if (dummySpell->SpellIconID == 2850)

Код:

INSERT INTO `spell_proc_event` VALUES (70723, 0x00,  7, 0x00000005, 0x00000005, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000,  0);


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

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