LU

[Encerrado] [Pokemon] Dúvidas? - Pda

Por lucashgas, 10 de jan. de 2012 em Tópicos Sem Resposta

brun123
pokemon
otserv
tibia
12.4k
2M
betinhowz666B
03 de abril de 2012 às 13:05

Alguem teria a spr e dat do psoul ou as sprites em idc dos pokes ? a dos shiny ja tenho

luposlpsL
03 de abril de 2012 às 13:18

@Topic Eu tenho a aura dele com efeito diferente pra cada raça e tbm da esse erro as vzs.

zerefshirouZ
03 de abril de 2012 às 15:32

Caraiii so vim passar pelo topico, vi meu aura, e fizeram uma bruxaria como deu erro lol

03 de abril de 2012 às 16:15

Slicer manin, teria como vc arrumar esse aura boost do zeref?pq da esse erro qnd inicia o server

 

 

[03/04/2012 16:13:26] [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/auraboost.lua:30: unexpected symbol near ']'

[03/04/2012 16:13:26] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/auraboost.lua)

[03/04/2012 16:13:26] data/creaturescripts/scripts/auraboost.lua:30: unexpected symbol near ']'

 

 

script:

 

function onThink(cid, interval)

if getPlayerSlotItem(cid, CONST_SLOT_FEET) == nil or getPlayerSlotItem(cid, CONST_SLOT_FEET).uid == nil then return true end

 

if #getCreatureSummons(cid) == 0 then return true end

 

if getPlayerSlotItem(cid,CONST_SLOT_FEET) ~= nil or getPlayerSlotItem(cid, CONST_SLOT_FEET).uid ~= nil then

if getItemAttribute(getPlayerSlotItem(cid, CONST_SLOT_FEET).uid, "boost") == 50 then

race = {

["grass"] = {effect = 248},

["poison"] = {effect = 208},

["rock"] = {effect = 247},

["psychic"] = {effect = 246},

["fire"] = {effect = 251},

["bug"] = {effect = 248},

["normal"] = {effect = 245},

["ice"] = {effect = 250},

["ground"] = {effect = 247},

["steel"] = {effect = 247},

["dragon"] = {effect = 249},

["flying"] = {effect = 249},

["dark"] = {effect = 208},

["electric"] = {effect = 244},

["ghost"] = {effect = 208},

["water"] = {effect = 250},

["fight"] = {effect = 245}

}

local namepoke = getCreatureName(getCreatureSummons(cid)[1])

info = pokes[namepoke].type

local elemento = race[info]

]]

addEvent(doSendMagicEffect, 200, getCreaturePosition(getCreatureSummons(cid)[1]), 208)

end

end

end

 

rep for you

vudiV
03 de abril de 2012 às 16:21

@Zeref ou @Slicer

 

Como coloco efeito pra cada tipo de pokemon?

luposlpsL
03 de abril de 2012 às 16:23

@FlamesAdmin

 

function onThink(cid, interval)

if getPlayerSlotItem(cid, CONST_SLOT_FEET) == nil or getPlayerSlotItem(cid, CONST_SLOT_FEET).uid == nil then return true end

 

if #getCreatureSummons(cid) == 0 or nil then return true end

 

if getPlayerSlotItem(cid,CONST_SLOT_FEET) ~= nil or getPlayerSlotItem(cid, CONST_SLOT_FEET).uid ~= nil then

if getItemAttribute(getPlayerSlotItem(cid, CONST_SLOT_FEET).uid, "boost") == 50 then

race = {

["grass"] = {effect = 248},

["poison"] = {effect = 208},

["rock"] = {effect = 247},

["psychic"] = {effect = 246},

["fire"] = {effect = 251},

["bug"] = {effect = 248},

["normal"] = {effect = 245},

["ice"] = {effect = 250},

["ground"] = {effect = 247},

["steel"] = {effect = 247},

["dragon"] = {effect = 249},

["flying"] = {effect = 249},

["dark"] = {effect = 208},

["electric"] = {effect = 244},

["ghost"] = {effect = 208},

["water"] = {effect = 250},

["fight"] = {effect = 245}

}

local namepoke = getCreatureName(getCreatureSummons(cid)[1])

info = pokes[namepoke].type

local elemento = race[info]

addEvent(doSendMagicEffect, 200, getCreaturePosition(getCreatureSummons(cid)[1]), elemento.effect)

end

end

end

 

 

Se voce quiser que funciona com as cores diferentes, vai precisar colocar os efeitos no seu Dat.

 

Com um efeito só:

function onThink(cid, interval)

if getPlayerSlotItem(cid, CONST_SLOT_FEET) == nil or getPlayerSlotItem(cid, CONST_SLOT_FEET).uid == nil then return true end

 

if #getCreatureSummons(cid) == 0 or nil then return true end

 

if getPlayerSlotItem(cid,CONST_SLOT_FEET) ~= nil or getPlayerSlotItem(cid, CONST_SLOT_FEET).uid ~= nil then

if getItemAttribute(getPlayerSlotItem(cid, CONST_SLOT_FEET).uid, "boost") == 50 then

race = {

["grass"] = {effect = 248},

["poison"] = {effect = 208},

["rock"] = {effect = 247},

["psychic"] = {effect = 246},

["fire"] = {effect = 251},

["bug"] = {effect = 248},

["normal"] = {effect = 245},

["ice"] = {effect = 250},

["ground"] = {effect = 247},

["steel"] = {effect = 247},

["dragon"] = {effect = 249},

["flying"] = {effect = 249},

["dark"] = {effect = 208},

["electric"] = {effect = 244},

["ghost"] = {effect = 208},

["water"] = {effect = 250},

["fight"] = {effect = 245}

}

local namepoke = getCreatureName(getCreatureSummons(cid)[1])

info = pokes[namepoke].type

local elemento = race[info]

addEvent(doSendMagicEffect, 200, getCreaturePosition(getCreatureSummons(cid)[1]), 208)

end

end

end

Editado Abril 3 por luposlps

zerefshirouZ
03 de abril de 2012 às 16:33

function onThink(cid, interval)

if getPlayerSlotItem(cid, CONST_SLOT_FEET) == nil or getPlayerSlotItem(cid, CONST_SLOT_FEET).uid == nil then return true end

if #getCreatureSummons(cid) == 0 then return true end

if getPlayerSlotItem(cid,CONST_SLOT_FEET) ~= nil or getPlayerSlotItem(cid, CONST_SLOT_FEET).uid ~= nil then

if getItemAttribute(getPlayerSlotItem(cid, CONST_SLOT_FEET).uid, "boost") == 50 then

addEvent(doSendMagicEffect, 200, getCreaturePosition(getCreatureSummons(cid)[1]), 208)

end

end

end

Com 1 efeito só é assim /\, com mais efeitos tem que mudar umas coisinhas... mas como nao tem espaço client eu prefiro deixar assim com 1 efeito só

Editado Abril 3 por ZerefShirou

diasdoidoD
03 de abril de 2012 às 16:37

como eu edito o catch?

kledstonsk8K
03 de abril de 2012 às 16:39

@Slicer valeu manin , tinha esqueçido disso kk ^^

 

 

 

 

@all alguem sabe onde eu mudo , i como eu mudo o effect da magia Burning Skin do charizard? tpw no lugar daquele fogo q ele fica , qnd tá usando a magia , eu queria bota outro efeito , alguem poderia me ajuda? rep +

vudiV
03 de abril de 2012 às 16:47

@Zeref

 

Não itendi nada que voce digito, ficou meio embaraçado sua explicaçao

zerefshirouZ
03 de abril de 2012 às 17:07

@kledstonsk8

 

data/lib/pokemon moves.lua, procura o burning skin e mude a vontade.

 

@diasdoido

 

depende do que você quer mudar...

 

@vudi

 

ve se da pra entender agora

 

 

Acho que vou voltar a ajudar aqui e postar script, talvez....

lSaintyL
03 de abril de 2012 às 17:27

Tenta volta aew Zeref, vc faz falta kkkkkkkkk

03 de abril de 2012 às 17:32

lol poke nao ta ficando com effect

 

123o4jl.jpg

kledstonsk8K
03 de abril de 2012 às 17:38

@Zeref manin voce entendeu errado , ai no moves.lua eu acho q muda o efeito do dano , eu to n to falando o efeito do dano , eu quero muda o efeito do fogo , q o charizard fica , entendeu? não o dano , o dano bote deixa o mesmo , so quero muda o efeito da magia q fica nele ..

SlicerS
03 de abril de 2012 às 18:28

@kledstonsk8

achu q vc q n soube achar... ;x vai no lib/pokemon moves.lua e procura por skin ... vais achar isso..

 

 

elseif spell == "Burning Skin" then

 

local function doBurnSkin(cid)

if not isCreature(cid) then return true end

doSendMagicEffect(getThingPositionWithDebug(cid), 15)

for a = 0, 7 do

local pos = getPosByDir(getThingPositionWithDebug(cid), a)

local man = getTopCreature(pos).uid

if isCreature(man) then

doAreaCombatHealth(cid, FIREDAMAGE, pos, 0, -min, -max, 255)

end

end

end

 

for b = 1, 10 do

addEvent(doBurnSkin, b * 650, cid)

end

 

 

tu edita o efeito q sai aki..

doSendMagicEffect(getThingPositionWithDebug(cid), 15)

no "15" ali eh o efeito de fogo q sai... ;p