Merge pull request #1107 from fryguy503/percentheal_aggro

[Aggro] PercentalHeal should be included in aggro generation
This commit is contained in:
Michael Cook (mackal) 2020-08-17 21:17:40 -04:00 committed by GitHub
commit b9f01e0d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1144,7 +1144,9 @@ int32 Mob::CheckHealAggroAmount(uint16 spell_id, Mob *target, uint32 heal_possib
for (int o = 0; o < EFFECT_COUNT; o++) {
switch (spells[spell_id].effectid[o]) {
case SE_CurrentHP: {
case SE_CurrentHP:
case SE_PercentalHeal:
{
if (heal_possible == 0) {
AggroAmount += 1;
break;