Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
345
Use Divine Dazzle #34
This will cast the spell if there are 2 or more creatures between 2-6 squares away and have more than 5-% mana.
531b | 13 lines.
macro(500, "Divine Dazzle", function()
    if isInPz() then return end
    local monsters = 0
    for i, mob in ipairs(getSpectators(posz())) do
        if mob:isMonster() and getDistanceBetween(player:getPosition(), mob:getPosition()) >= 2 and getDistanceBetween(player:getPosition(), mob:getPosition()) <= 6 then
            monsters = monsters + 1
        end
    end

    if (monsters >= 2 and manapercent() > 50 and not modules.game_cooldown.isCooldownIconActive(101)) then
       say("exana amp res")
    end
end)

26 May 2021