• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ TFS 1.3 8.60 spell exeta res

Lbtg

Intermediate OT User
Joined
Nov 22, 2008
Messages
2,311
Reaction score
133
Hello the spell exeta res for knights, doesnt work


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

There is no errors.

any ideas how to fix ?
 
My exeta res spell looks exactly the same but it works, so the problem must be somewhere else then the challenge.lua

I'm not sure where to begin debugging. Do all other spells work? And, have you recently modified your source code?
 
Back
Top