
Originally Posted by
jollebollen
Yes it's like that. I have died 2 times due to combo because my characters runs with 3 monsters and only have 70% hp left = dead.
Edit: Settings-
Can you pust your .lua healing? Much appreciated.
lua code:
CONFIG = {
["Platynka"] = {
SPELL = {
{NAME = "Exura Vita", MANA = 160, HEALTH = 50, LEVEL = 30, ENABLED = true},
{NAME = "Exura Gran", MANA = 70, HEALTH = 75, LEVEL = 20, ENABLED = true},
{NAME = "Exura", MANA = 20, HEALTH = 95, LEVEL = 9, ENABLED = true}
}
},
["Zakrzew"] = {
SPELL = {
{NAME = "Exura Gran", MANA = 70, HEALTH = 65, LEVEL = 20, ENABLED = true},
{NAME = "Exura", MANA = 20, HEALTH = 80, LEVEL = 9, ENABLED = true}
}
}
}
Self.HealthPercent = function()
return math.floor(Self.Health() / (Self.MaxHealth() * 0.01))
end
Module.New("HealingRules", function(moduleObject)
for creature, value in pairs(CONFIG) do
if (Self.Name() == creature) then
for index, table in pairs(value) do
for _, SPELL_CONFIG in pairs(table) do
if (Self.HealthPercent() <= SPELL_CONFIG.HEALTH and Self.Level() >= SPELL_CONFIG.LEVEL) then
if (SPELL_CONFIG.ENABLED) then
Self.Cast(SPELL_CONFIG.NAME, SPELL_CONFIG.MANA)
end
end
end
end
end
end
end)
Change ["Platynka"] for your character name.