Exeta res not working · Issue #49 · nekiro/forgottenserver (https://github.com/nekiro/forgottenserver/issues/49)
there is an issue thread already opened,, but i couldn't wait and i was thinking what can i do? since there is no error in console i didn't know what to do, so can someone explain to me what could be done in these cases, will a source edit be needed?
there is an issue thread already opened,, but i couldn't wait and i was thinking what can i do? since there is no error in console i didn't know what to do, so can someone explain to me what could be done in these cases, will a source edit be needed?
Lua:
local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
combat:setArea(createCombatArea(AREA_SQUARE1X1))
function onTargetCreature(creature, target)
return doChallengeCreature(creature, target)
end
combat:setCallback(CALLBACK_PARAM_TARGETCREATURE, "onTargetCreature")
function onCastSpell(creature, variant)
return combat:execute(creature, variant)
end