Cytat został ukryty, ponieważ ignorujesz tego użytkownika. Pokaż cytat.
Z mniejszych poszło 7x100lvl z 15x100lvl, więc prawie połowa.
local NormalRing = 3004 -- Item ID of the the default ring. (wedding ring)
local EnergyRing = 3051 -- Item ID of the energy ring.
-- Creature Settings
local CreatureList = {"Cyclops"}
local CreatureCount = 1 -- How many monsters until you equip the energy ring?
local CreatureRange = 8 -- Range of the monsters until you equip the energy ring?
Module.New('equip energy ring', function(module)
local mob = Self.GetTargets(CreatureRange)
local count = 0
for i =1, #mob do
if table.contains(CreatureList, mob[i]:Name()) then
count = count + 1
end
end
if count >= CreatureCount then
if (Self.Ring().id ~= EnergyRing) and (Self.ItemCount(EnergyRing) > 0) then
Self.Equip(EnergyRing, "ring")
else Self.Equip(NormalRing, "ring")
end
elseif (Self.Ring().id ~= NormalRing) and (Self.ItemCount(NormalRing) > 0) then
Self.Equip(NormalRing, "ring", 100)
end
module:Delay(1000)
end)
Ostatnio zmieniony przez Maciek_1993 : 21-12-2014, 11:00
Cytat został ukryty, ponieważ ignorujesz tego użytkownika. Pokaż cytat.
Aktualnie 1 użytkowników przegląda ten temat. (0 użytkowników i 1 gości)
Zakładki