Log in

View Full Version : Paladin drop and equip spears



palekq
07-07-2016, 12:17 AM
Hello, i cant find any script for spears.
Im hunt swamp trolls at port hope.
I want to my char drop spears from dead troll on ground and if i will have less than 5 spears he will take spear from ground to bp and equip.
Please help me with it, im trying to serch sripts like this but cant find.

I find it :

Ammo = "spear" -- The ammo you are using
LootBelowAmmo = 5 -- Looting below this amount of ammo

Module.New('LootBelowAmmo', function(module)
if Self.ItemCount(Ammo) < LootBelowAmmo then
if not Looter.IsEnabled() then
Looter.Start()
end
else
if Looter.IsEnabled() then
Looter.Stop()
end
module:Delay(500)
end
end)


and when i active this script my lotter is bugged and i cant "tick" lotter when i have more than 5 spears.


Can someone write sript or edit this script for me PLEASE :).

Jontor
07-07-2016, 09:52 AM
Try using this script (http://forums.xenobot.net/showthread.php?39301-shAdOwArt-s-Lua-Scripts&p=457479&viewfull=1#post457479) made by Shadowart

palekq
07-07-2016, 11:53 AM
Try using this script (http://forums.xenobot.net/showthread.php?39301-shAdOwArt-s-Lua-Scripts&p=457479&viewfull=1#post457479) made by Shadowart




Thanks its work, but i still need script "pick up spears if x left"