- #ifdef __VERSION_162__
- if ((IsMonster()) && (pkSk->dwVnum == HEALING_SKILL_VNUM))
- {
- LPPARTY pkParty = GetParty();
- if ((pkParty) && (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY)))
- {
- FHealerParty f(this);
- pkParty->ForEachMemberPtr(f);
- }
- else
- {
- int iRevive = (int)(GetMaxHP() / 100 * 15);
- int iHP = (GetMaxHP() >= GetHP() + iRevive) ? (int)(GetHP() + iRevive) : (int)(GetMaxHP());
- SetHP(iHP);
- EffectPacket(SE_EFFECT_HEALER);
- sys_log(0, "FHealer: %s (pointer: %p) heal their HP with %d (new HP: %d).", GetName(), get_pointer(this), iRevive, GetHP());
- }
- return true;
- }
- #endif