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.
2K
Use Divine Dazzle #34
Updated this to look for blood rage cooldown and also look for certain monsters, the older version is still underneath.
This will cast the spell if there are 2 or more creatures between 2-6 squares away and have more than 5-% mana.
File: divinedaz.lua | 699b | 16 lines.
 --[[
  Script made by Lee (Discord: l33_) - www.trainorcreations.com
  If you want to support my work, feel free to donate at https://trainorcreations.com/donate
  PS. Stop ripping off my work and selling it as your own.
 ]]--
local minDist = 2
local maxDist = 6
local mList = {"Minotaur Archer", "Orc", "Monk"}
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()) >= minDist and getDistanceBetween(player:getPosition(), mob:getPosition()) <= maxDist and table.contains(mList, mob:getName()) then
      monsters = monsters + 1
    end
  end

  if (monsters >= 2 and manapercent() > 50 and not modules.game_cooldown.isCooldownIconActive(101) and not modules.game_cooldown.isCooldownIconActive(133)) then
    say("exana amp res")
  end
end)
File: divinedaz_old.lua | 531b | 13 lines.
 --[[
  Script made by Lee (Discord: l33_) - www.trainorcreations.com
  If you want to support my work, feel free to donate at https://trainorcreations.com/donate
  PS. Stop ripping off my work and selling it as your own.
 ]]--
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)

25 Mar 2022
Ads