Skip to content

Commit

Permalink
Implent Priest T10 Healer 2P Bonus
Browse files Browse the repository at this point in the history
Signed-off-by: gmlt.A <gmlta@yandex.ru>
  • Loading branch information
gmltA committed Aug 24, 2010
1 parent b58e3b5 commit cd18998
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addition/mangos_spell_proc_event.sql
Expand Up @@ -10,3 +10,6 @@ INSERT INTO `spell_proc_event` VALUES ('70808', '8', '11', '400', '400', '400',
DELETE FROM `spell_proc_event` WHERE `entry` = 70756;
INSERT INTO `spell_proc_event` VALUES ('70756', '2', '10', '0x00200000', '0x00200000', '0x00200000', '0', '0', '0', '0', '0', '0', '16384', '0', '0', '0', '0');

/* Item - Priest T10 Healer 2P Bonus */
DELETE FROM `spell_proc_event` WHERE `entry` = 70770;
INSERT INTO `spell_proc_event` VALUES ('70770', '2', '6', '0x00000800', '0x00000800', '0x00000800', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
10 changes: 10 additions & 0 deletions src/game/UnitAuraProcHandler.cpp
Expand Up @@ -1605,6 +1605,16 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
triggered_spell_id = 56161;
break;
}
// Item - Priest T10 Healer 2P Bonus
case 70770:
{
if (GetTypeId() != TYPEID_PLAYER)
return SPELL_AURA_PROC_FAILED;

basepoints[0] = int32(damage * triggerAmount / 100 / 3); // 11% per 1 tick
triggered_spell_id = 70772;
break;
}
}
break;
}
Expand Down

0 comments on commit cd18998

Please sign in to comment.