Anyone Know if have scripts for paladin that: Dont Loot if have more than "x" arrows? (For example)
Don't Loot if have more than x spears...
Anyone Know if have scripts for paladin that: Dont Loot if have more than "x" arrows? (For example)
Don't Loot if have more than x spears...
Most scripts don't have that feature (I don't know of any that do, but I might be wrong). This stand-alone lua can be configured to do what you want. In the config you'll have to put your dynamicLootList to something like this:
lua code:
dynamicLootList = {
["spear"] = {bp=1, when=function() return Self.ItemCount("spear") < 2 end},
}
Thank You very very much!I will do a test and i will do the feedback
OMG, this not works!But, Thanks! +)
dynamicLootList = {
["spear"] = {bp=1, when=function() return Self.ItemCount("spear") < 2 end},
}
It is because i am using the trial version:This msg appear:
22:32 XenoScript Error:
Script: Dont loot more than(Pala)teste.LUA
Line #: 2
Chunk: C:?Users?pv?DOCUME?1?XenoBot?Scripts??DONTLO?4.LUA
Error: table index is nil
This is an error with user-input and should not be reported as a bug with XenoBot.
Code:Ammo = "spear" -- The ammo you are using LootBelowAmmo = 10 -- 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)
There's a difference between not looting spears when you have too many spears, and not looting anything at all when you have too many spears.