
Originally Posted by
Andreolsoon
haru nå funkande sword bytande när stenar tar slut gubben?
Code:
local WeaponID = 3297 -- Item ID of the weapon that you want to equip. (Default: Spike Sword)
local SpearID = 1781 -- Item ID of the spears that you want to equip. (Default: Royal Spear)
local SpearAmount = 0 -- Amount of spears to equip weapon at
Module.New('equip spears', function(module)
if (Self.ItemCount(SpearID) <= SpearAmount) then
module:Delay(1000)
Self.Equip(WeaponID, "weapon")
elseif (Self.ItemCount(SpearID) > SpearAmount) then
module:Delay(1000)
Self.Equip(SpearID, "weapon")
end
end)