-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
-
Conteúdo Similar
-
script alguém pode me ajudar nessa spells aqui, queira que colocassem pro meu personagem ficar inatingível por 6 segundos e podendo atacar livremente
Por lazaroszz,
- 0 respostas
- 1047 visualizações
-
- 0 respostas
- 2075 visualizações
-
- 3 respostas
- 4332 visualizações
-
- 2 respostas
- 1950 visualizações
-
- 1 resposta
- 1646 visualizações
-

Pergunta
FlamesAdmin 262
Fiz uma tag de outro pokemon pra usar o Morph copiando dessa tag:
Só que está dando erro.
[10/06/2015 02:46:33] [Error - LuaScriptInterface::loadFile] data/lib/pokemon moves.lua:2659: unexpected symbol near '=='
elseif spell == "Morph" then if isSummon(cid) then sid = getCreatureMaster(cid) lightEff = 132 lightOut = 1645 darkEff = 214 darkOut = 1257 -----------Rotoms ghostEff = 180 ghostOut = 1730 waterEff = 21 waterOut = 1726 fireEff = 181 fireOut = 1725 grassEff = 8 grassOut = 1729 flyEff = 42 flyOut = 1727 iceEff = 41 iceOut = 1728 pos = getThingPos(cid) if getPlayerSlotItem(sid, 8).itemid == 0 then print(getPlayerSlotItem(sid, 8).itemid) return false end if getCreatureName(cid) == "Shiny Abra" then eff, name, outfit = lightEff, "Light Abra", lightOut else eff, name, outfit = darkEff, "Shiny Abra", darkOut end if getCreatureName(cid) == "Ghost Rotom" then --- ADICIONANDO ESSA PARTE \/ eff, name, outfit = waterEff, "Water Rotom", waterOut else eff, name, outfit = fireEff, "Fire Rotom", fireOut else eff, name, outfit = grassEff, "Grass Rotom", grassOut else eff, name, outfit = flyEff, "Flying Rotom", flyOut else eff, name, outfit = iceEff, "Ice Rotom", iceOut else eff, name, outfit = ghostEff, "Ghost Rotom", ghostOut end ---- ATÉ AQUI DA ERRO, QUANDO EU TIRO ELA, INICIA NORMALMENTE if not isPlayer(sid) then return false end if getItemAttribute(getPlayerSlotItem(sid, 8).uid, "ghostlight") then doItemEraseAttribute(getPlayerSlotItem(sid, 8).uid, "ghostlight") else doItemSetAttribute(getPlayerSlotItem(sid, 8).uid, "ghostlight", "yes") end doSendMagicEffect(getThingPosWithDebug(cid), eff) doSetCreatureOutfit(cid, {lookType = outfit}, -1) doItemSetAttribute(getPlayerSlotItem(sid, 8).uid, "poke", name) doRemoveCreature(cid) doSummonMonster(sid, name) doTeleportThing(getCreatureSummons(sid)[1], pos, false) adjustStatus(getCreatureSummons(sid)[1], getPlayerSlotItem(sid, 8).uid, true, false) doUpdateMoves(sid) endLink para o comentário
https://xtibia.com/forum/topic/234629-resolvido-morph/Compartilhar em outros sites
8 respostass a esta questão
Posts Recomendados