My combat effect isn't working :(
code:
local spec = Game.getSpectators(creature:getPosition(), false, false, 4, 4, 4, 4)
for _, c in pairs(spec) do
if c and (c:isPlayer() or c:getMaster()) then
doTargetCombatHealth(creature:getId(), c, COMBAT_EARTHDAMAGE...