1. #ifdef __VERSION_162__
  2. if ((IsMonster()) && (pkSk->dwVnum == HEALING_SKILL_VNUM))
  3. {
  4. LPPARTY pkParty = GetParty();
  5. if ((pkParty) && (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY)))
  6. {
  7. FHealerParty f(this);
  8. pkParty->ForEachMemberPtr(f);
  9. }
  10. else
  11. {
  12. int iRevive = (int)(GetMaxHP() / 100 * 15);
  13. int iHP = (GetMaxHP() >= GetHP() + iRevive) ? (int)(GetHP() + iRevive) : (int)(GetMaxHP());
  14. SetHP(iHP);
  15. EffectPacket(SE_EFFECT_HEALER);
  16. sys_log(0, "FHealer: %s (pointer: %p) heal their HP with %d (new HP: %d).", GetName(), get_pointer(this), iRevive, GetHP());
  17. }
  18. return true;
  19. }
  20. #endif