mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-27 10:32:26 +00:00
[Aggro] PercentalHeal should be included in aggro generation
Per January 15th 2003 Patch Notes: "NPCs will now notice Druid and Shaman Percentage Heal spells in a manner similar to traditional healing spells." Added SE_PercetalHeal to the same CheckHealAggroAmount as SE_CurrentHP to be similar to traditional healing spells.
This commit is contained in:
parent
0506c01103
commit
bd4810351d
@ -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