Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ringEquiper = Module.New('ring equiper', function(module)
- mob = Self.GetTargets(6)
- for i=1, #mob do
- if (table.find(stealthCreatures,(mob[i]:Name()):lower(), false)) and (mob[i]:isReachable()) then
- equipStealth = true
- break
- else equipStealth = false
- end
- end
- if Tools.conditionStealth and (Self.ItemCount(3049) > 0) then
- if equipStealth then
- Self.Equip(3049,'ring') end
- module:Delay(400)
- else
- if Self.Ring().id == 3049 then
- Self.Equip(normalRing,'ring')
- module:Delay(400)
- end
- end
- end
- module:Delay(400)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement