Erro no Waterfall.lua, Segue o erro abaixo.
[06/09/2015 19:17:46] [Error - Spell Interface]
[06/09/2015 19:17:46] data/spells/scripts/ps/Waterfall.lua:onCastSpell
[06/09/2015 19:17:46] Description:
[06/09/2015 19:17:46] data/lib/pokemon moves.lua:123: attempt to index local 'table' (a nil value)
[06/09/2015 19:17:46] stack traceback:
[06/09/2015 19:17:47] data/lib/pokemon moves.lua:123: in function 'docastspell'
[06/09/2015 19:17:47] data/spells/scripts/ps/Waterfall.lua:5: in function <data/spells/scripts/ps/Waterfall.lua:1>
Waterfall.lua
function onCastSpell(cid, var)
if isSummon(cid) then return true end
docastspell(cid, "Waterfall")
return true
end