mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-20 00:51:28 +00:00
Merge pull request #1107 from fryguy503/percentheal_aggro
[Aggro] PercentalHeal should be included in aggro generation
This commit is contained in:
commit
b9f01e0d1c
@ -1144,7 +1144,9 @@ int32 Mob::CheckHealAggroAmount(uint16 spell_id, Mob *target, uint32 heal_possib
|
|||||||
|
|
||||||
for (int o = 0; o < EFFECT_COUNT; o++) {
|
for (int o = 0; o < EFFECT_COUNT; o++) {
|
||||||
switch (spells[spell_id].effectid[o]) {
|
switch (spells[spell_id].effectid[o]) {
|
||||||
case SE_CurrentHP: {
|
case SE_CurrentHP:
|
||||||
|
case SE_PercentalHeal:
|
||||||
|
{
|
||||||
if (heal_possible == 0) {
|
if (heal_possible == 0) {
|
||||||
AggroAmount += 1;
|
AggroAmount += 1;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user