Ir para conteúdo
  • 0

Spell Mirror Coat


Olan trein

Pergunta

11 respostass a esta questão

Posts Recomendados

  • 1

Quando for pedir algum mande ou print ou video pois como falei nem todos jogam otpokemon 

vamos lá 

 

em area.lua (lib) COle isso lá

cot1 = {        --explosao
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 0, 0, 0}, 
{0, 0, 0, 0, 2, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0}, 
}
cot2 = {        --explosao
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0}, 
{0, 0, 0, 0, 2, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0}, 
}

cot3 = {        --explosao
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0}, 
{0, 0, 0, 0, 2, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0}, 
}

cot4 = {        --explosao
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 0, 0}, 
{0, 0, 0, 1, 2, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0}, 
}

Pokemon moves.lua

 

elseif spell == "Mirror Coat" then

local eff = 135
local area = {cot1, cot2, cot3, cot4}

for i = 0, 5 do
    addEvent(doMoveInArea2, i*300, cid, eff, area[i+1], DRAGONDAMAGE, min, max, spell)
	setPlayerStorageValue(cid, 21099, 1) 
end

 

Link para o comentário
Compartilhar em outros sites

  • 0
45 minutos atrás, Marshmello disse:

Quando for pedir algum mande ou print ou video pois como falei nem todos jogam otpokemon 

vamos lá 

 

em area.lua (lib) COle isso lá


cot1 = {        --explosao
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 0, 0, 0}, 
{0, 0, 0, 0, 2, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0}, 
}
cot2 = {        --explosao
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0}, 
{0, 0, 0, 0, 2, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0}, 
}

cot3 = {        --explosao
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0}, 
{0, 0, 0, 0, 2, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0}, 
}

cot4 = {        --explosao
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 0, 0}, 
{0, 0, 0, 1, 2, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0}, 
}

Pokemon moves.lua

 


elseif spell == "Mirror Coat" then

local eff = 135
local area = {cot1, cot2, cot3, cot4}

for i = 0, 5 do
    addEvent(doMoveInArea2, i*300, cid, eff, area[i+1], DRAGONDAMAGE, min, max, spell)
	setPlayerStorageValue(cid, 21099, 1) 
end

 

Di REP+ funfo aki

Link para o comentário
Compartilhar em outros sites

  • 0

@Olan trein

elseif spell == "Mirror Coat" then

local eff = 135
local area = {cot1, cot2, cot3, cot4}

for i = 0, 5 do
    addEvent(doMoveInArea2, i*300, cid, eff, area[i+1], DRAGONDAMAGE, min, max, spell)
	setPlayerStorageValue(cid, 21099[i], 1) 
end

 

Link para o comentário
Compartilhar em outros sites

  • 0

Foi mal,kkk

vo pegar


[03/12/2018 15:16:50] [Error - LuaScriptInterface::loadFile] data/lib/pokemon moves.lua:223: ')' expected near '['
[03/12/2018 15:16:50] [Warning - LuaScriptInterface::initState] Cannot load data/lib/

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...