11-11-2015, 00:52 AM
Hi guys, i wanna make a script for auto de-lvl , cause is booring make the char die 20-30 times.
Someone can help me, the script go to near of NPC, but don't target and don't hit him.
Someone can help me, the script go to near of NPC, but don't target and don't hit him.
Code:
SCONFIG = L2TConfig.GetConfig();
SCONFIG_FILE = GetDir() .. '\\scripts\\dlvl.l2b';
L2TConfig.SaveConfig(SCONFIG_FILE);
repeat
moveDistance = 30;
Sleep(600);
MoveTo(117710, -182532, -1538, moveDistance);
TargetNpc("Ethan", 30543); ----- target NPC
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
if GetMe():IsAlikeDeath()then
Sleep(600);
ClearTargets();
Sleep(800);
end;
until false