Lineage 2 Tower Forum

Full Version: cancel the target dead
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ohello guys i to using this script to kill mobs edited


LUA Programming
range = 1200;
NpcName = "Restrainer Of Glory";
--------------------------------------------------------------------------------
repeat
Command("/target Restrainer Of Glory");
if(GetTarget() == nil)then
NpcL = GetNpcList();
for user in NpcL.list do
if(GetMe():GetRangeTo(user) < range)then
if(user:GetName() == NpcName)then
Target(user:GetId());
UseSkill(10763, false, true);
end;
Sleep(500);
end;
end;
Sleep(500);
end;
if(GetTarget()~= nil)then
if(GetTarget():IsAlikeDeath() == true)then
ClearTargets();
CancelTarget(true);
Sleep(500);
end;
end;
Sleep(500);
until false;



more boring it has an error after the mob dies you still get his butt until he disappeared that some of you will be able to edit or create a script for when he dies immediately change the subject?
from already thank you
Spank that butt ! Why complicate your life whit this script
Reference URL's