It does the same thing for my formula using getPlayerMagicLevel(cid). Which I know is there. I'm using TFS 0.2.15. I'm completely mind boggled lol.
Here is an entire spell script.
local combat = createCombatObject()
arr = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 1, 0, 0...