Postado Maio 3, 2016 9 anos erro pokemon moves [02/05/2016 16:38:11] [Error - Spell Interface] [02/05/2016 16:38:11] data/spells/scripts/ps/Roar of Time.lua:onCastSpell [02/05/2016 16:38:11] Description: [02/05/2016 16:38:11] data/lib/pokemon moves1.lua:121: attempt to index local 'table' (a nil value) [02/05/2016 16:38:11] stack traceback: [02/05/2016 16:38:11] data/lib/pokemon moves1.lua:121: in function 'docastspell' [02/05/2016 16:38:11] data/spells/scripts/ps/Roar of Time.lua:5: in function <data/spells/scripts/ps/Roar of Time.lua:1> [02/05/2016 17:07:41] [Error - Spell Interface] [02/05/2016 17:07:41] In a timer event called from: [02/05/2016 17:07:41] data/spells/scripts/ps/Last Resort.lua:onCastSpell [02/05/2016 17:07:41] Description: [02/05/2016 17:07:41] data/lib/032-position.lua:159: bad argument #1 to 'getn' (table expected, got string) [02/05/2016 17:07:41] stack traceback: [02/05/2016 17:07:41] [C]: in function 'getn' [02/05/2016 17:07:41] data/lib/032-position.lua:159: in function 'getPosfromArea' [02/05/2016 17:07:41] data/lib/newStatusSyst.lua:835: in function <data/lib/newStatusSyst.lua:832>
Postado Maio 4, 2016 9 anos @sidneivascao Esse Roar of Time e Last Resort são magias próprias? Se sim, você as modificou errado. Poste os arquivos aqui em spoiler. Editado Maio 4, 2016 9 anos por Azhaurn (veja o histórico de edições)
Postado Maio 7, 2016 9 anos Autor Roar of Time Spoiler elseif spell == "Inferno" or spell == "Fissure" or spell == "Roar of Time" then local pos = getThingPosWithDebug(cid) atk = { ["Inferno"] = {101, FIREDAMAGE}, ["Roar of Time"] = {231, DARKDAMAGE}, ["Fissure"] = {102, GROUNDDAMAGE} } doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell) addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0) Last Resort Spoiler elseif spell == "Last Resort" then local pos = getThingPosWithDebug(cid) local areas = {rock5, rock4, rock3, rock2, rock1, rock5, rock4, rock3, rock2, rock1} for i = 0, 9 do addEvent(doMoveInArea2, i*400, cid, 3, areas[i+1], NORMALDAMAGE, min, max, spell) addEvent(doMoveInArea2, i*410, cid, 3, areas[i+1], NORMALDAMAGE, 0, 0, spell) end
Postado Maio 9, 2016 9 anos Autor Em 04/05/2016 at 16:15, Azhaurn disse: @sidneivascao Esse Roar of Time e Last Resort são magias próprias? Se sim, você as modificou errado. Poste os arquivos aqui em spoiler. ja mandei ai tem como o senhor verificar ´pra mim ai
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.