VictorOtInfinit
Member
- Joined
- Mar 14, 2020
- Messages
- 139
- Solutions
- 3
- Reaction score
- 11
My combat effect isn't working
code:
35 = CONST_ME_GROUNDSHAKER
already tried CONST_ME_GROUNDSHAKER, not work either :/ the COMBAT_EARTHDAMAGE is working well, and the script over all is working, but no effect
code:
Lua:
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, -250000, -250000, 35)
end
end
already tried CONST_ME_GROUNDSHAKER, not work either :/ the COMBAT_EARTHDAMAGE is working well, and the script over all is working, but no effect