Lineage 2 Tower Forum

Full Version: Nuke attack - AOE doesnt work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In Nuke Attack section AOE min attack count - doesnt work at all. If in AOE is 1 - skill working, if more than 1 (3 for ex) - NO WORKING at all =(

I am boting with warlord so always 8+ mobs
create some scripts or plugin for

    LUA Programming
function HowManyMobsAround(range)
	local monsterlist = GetMonsterList();
	local count = 0;
	for mob in monsterlist.list do
 if (mob:GetDistance() < range) then
 count = count + 1;
 end;
	end;
	return count;
end;
 
repeat
 
 if HowManyMobsAround(300)>4 then 
 
   use some skill
 
 end;
 
end

yes, i think it would be better even, thx
sorry for necroposting Smile
fixed and worked skript (for bladedancer skills Poison Blade Dance & Deminc Blade Dance)

    LUA Programming
function HowManyMobsAround(range)
	local monsterlist = GetMonsterList();
	local count = 0;
	for mob in monsterlist.list do
 if (mob:GetDistance() < range) then
 count = count + 1;
 end;
	end;
	return count;
end;
 
repeat
	if HowManyMobsAround(200) > 3 then 
 UseSkillRaw(84, false, false);
 Sleep(1250);
 UseSkillRaw(408, false, false);
 Sleep(1250);
	end;
	Sleep(1012);
until false;

search for Amirooo scrip foh aoe in forum.
Reference URL's