Changes the healing condition based on creatures around the amount of specific creatures around you.
Configuration
Edit the creatures, minCreatures, rulePath, defaultValue and safeValue variables on the init block; details are given in the code itself.
Code
init start
-- local SCRIPT_VERSION = '1.0.0'
-- Creatures counted; empty array means any creature
local creatures = {'Serpent Spawn', 'Hydra'}
-- Minimum amount of creatures to change heal rule
local minCreatures = 1
-- The full path to the heal rule to be changed
local rulePath = 'SpellHealer/Rules/NewHealRule'
-- The value for when there are less creatures on screen then what was set
-- up on `minCreatures` variable. NOTE: This is a range; eg: {50, 55} means
-- '50 to 55'.
local defaultValue = {50, 55}
-- The value for when there are at least the same amount of creatures on
--screen then what was set up on `minCreatures` variable. NOTE: This is a
-- range; eg: {90, 95} means '90 to 95'.
local safeValue = {90, 95}
-- DO NOT EDIT BELOW THIS LINE --
table.lower(creatures)
rulePath = string.finish(rulePath, '/ConditionValue')
init end
auto(100)
local value = tern(maround(creatures) < minCreatures, defaultValue, safeValue)
set(rulePath, ('%d x %d'):format(value[1], value[2]))
Changes the healing condition based on creatures around the amount of specific creatures around you.
Configuration
Edit the creatures, minCreatures, rulePath, defaultValue and safeValue variables on the init block; details are given in the code itself.
Code
init start
-- local SCRIPT_VERSION = '1.0.0'
-- Creatures counted; empty array means any creature
local creatures = {'Serpent Spawn', 'Hydra'}
-- Minimum amount of creatures to change heal rule
local minCreatures = 1
-- The full path to the heal rule to be changed
local rulePath = 'SpellHealer/Rules/NewHealRule'
-- The value for when there are less creatures on screen then what was set
-- up on `minCreatures` variable. NOTE: This is a range; eg: {50, 55} means
-- '50 to 55'.
local defaultValue = {50, 55}
-- The value for when there are at least the same amount of creatures on
--screen then what was set up on `minCreatures` variable. NOTE: This is a
-- range; eg: {90, 95} means '90 to 95'.
local safeValue = {90, 95}
-- DO NOT EDIT BELOW THIS LINE --
table.lower(creatures)
rulePath = string.finish(rulePath, '/ConditionValue')
init end
auto(100)
local value = tern(maround(creatures) < minCreatures, defaultValue, safeValue)
set(rulePath, ('%d x %d'):format(value[1], value[2]))
boa noite Raphael, seguinte to com problema num script que ele começa desativar o heal sozinho, andei olhando, e queria ver se consigo resolver o problema botando um persistente heal, mas nao tenho nem ideia de como fazer,procurei no forum e achei esse seu post, eu caço dl na poi, ms lvl 170, qual configuraçao de heal vc poderia me indicar??
teria uma ideia dessas boa tuas??