data/lib/pokemon moves.lua:
elseif spell == "Iron Body" then
local ironBody = {
outfit = xxx, --Outfit.
duration = 5, --Duração.
}
doSetCreatureOutfit(cid, {lookType = ironBody.outfit}, ironBody.duration * 1000)
setPlayerStorageValue(cid, 9658783, 1)
addEvent(function()
if isCreature(cid) then
setPlayerStorageValue(cid, 9658783, -1)
end
end, ironBody.duration * 1000)










info
Grupo: Conde
Registrado: 15/06/15
Posts: 729
Reputação: +200
Bem gostaria da Spell de Iron Body do Bronzong
Indentico a esse =http://www.xtibia.com/forum/topic/235078-pedido-heavy-slam-e-passiva-iron-body/
Porem gostaria que ele fosse uma Spell,como assim?
R:Gostaria que ele fosse um efeito usavel no m1 á m12 e não uma passive,apos o player usar essa spell o bronzong fica 5 segundos sem tomar dano e ele ganha uma outfit nesses 5 segundos,apos o termino da spell a outfit some e ele volta ao normal,obg!
UP!
Editado Agosto 2 por kaleudd