Amiroslo
Excellent OT User
- Joined
- Jul 28, 2009
- Messages
- 6,812
- Solutions
- 6
- Reaction score
- 822
i got this error rep++ for the fixer
the error
the spell
the error
Code:
[25/12/2010 14:31:15] Warning: [CallBack::loadCallBack] Event onGetFormulaValues not found.
[25/12/2010 14:31:15] [Error - Spell Interface]
[25/12/2010 14:31:15] data/spells/scripts/titan/titanium arena.lua
[25/12/2010 14:31:15] Description:
[25/12/2010 14:31:15] (luaSetCombatCallBack) Cannot load callback
the spell
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1498)
setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
local arr = {
{1, 1, 1, 1, 1, 1, 1},
{1, 0, 0, 0, 0, 0, 1},
{1, 0, 0, 0, 0, 0, 1},
{1, 0, 0, 3, 0, 0, 1},
{1, 0, 0, 0, 0, 0, 1},
{1, 0, 0, 0, 0, 0, 1},
{1, 1, 1, 1, 1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Last edited: