Hello everyone,
I would like to ask for a way to know when my pet/summon and pt members are attacked by mobs.
I have trying to figure this out for days but still not get it. I tried to use engine.findenemy() but its didnt work with my pet/summon:
uses SysUtils;
var npc: TL2Npc;
var pet: TL2Pet;
Begin
while engine.status = lsOnline do
begin
REPEAT
Engine.UseSkill('Servitor Recharge');
if engine.findenemy(npc,pet,300) then Break;
UNTIL User.MP > 95;
end;
end.
Please help me solve this, and I am looking for a way to make it work with pt members too.
Thank you so much!