ClackBoom
-
Posts
30 -
Joined
-
Last visited
Reputation Activity
-
ClackBoom reacted to Eskylo in Adicionar Bonus Na Vocação?
procura essa parte no lib/poke moves
linha 80+-
if mina and maxa then min = math.abs(mina) max = math.abs(maxa) elseif not isPlayer(cid) then if movesinfo[spell] then if movesinfo[spell].t == "fighting" then movetype = getOffense(cid) * 1.4 + getSpecialAttack(cid) * 0.45 elseif movesinfo[spell].t == "normal" then movetype = movetype * 0.6 + getOffense(cid) * 0.6 end min = 5 + getPokemonLevel(cid) + (movesinfo[spell].f / 100 * movetype * specialoffenseRate) max = min + getPokemonLevel(cid) * levelFactor XXXXXXXXXXXXX if not isSummon(cid) then doCreatureSay(cid, string.upper(spell).."!", TALKTYPE_MONSTER) end if isNpcSummon(cid) then local mnn = {" use ", " "} local use = mnn[math.random(#mnn)] doCreatureSay(getCreatureMaster(cid), getPlayerStorageValue(cid, 1007)..","..use..""..doCorrectString(spell).."!", 1) end else print("Error trying to use move "..spell..", move not specified in moves table.") end
coloca isso no lugar dos XXXXXXXX
if isSummon(cid) then local eskylo = { ["water"] = { {1,10},--voc 1 vai causar 10% + damage com move do elemento water {3,15},--voc 3 vai causar 15% + damage com move do elemento water }, ["grass"] = { {2,10},--voc 2 vai causar 10% + damage com move do elemento grass }, } if eskylo[movesinfo[spell].t] then k = eskylo[movesinfo[spell].t] voc_pid = getPlayerVocation(getCreatureMaster(cid)) for i = 1, #k do if k[i][1] == voc_pid then min = min * (1 + (k[i][2]/100)) max = max * (1 + (k[i][2]/100)) break end end end end
-
ClackBoom got a reaction from zerefshirou in [Encerrado] [Pokemon] Dúvidas? - Pda
Dúvido muito que esse StyloMaldoso saiba algo de script, ele não sabe nem escrever...
e esse "SYSTEMA" não adiciona nenhuma vantagem ao player, dai fica pra vocês descobrirem como faz ;P
e esse sistema nem é de vocês, creio que seja do CleberAdm, cade os créditos?
-
ClackBoom got a reaction from neneboca in [Encerrado] [Pokemon] Dúvidas? - Pda
ninguém tem script de pesca ?
vlw
-
ClackBoom reacted to bizao030188 in [Encerrado] [Pokemon] Dúvidas? - Pda
@ZeSy
Ta no caminho... Tenta fazer assim:
local nick = getItemAttribute(getPlayerSlotItem(getCreatureMaster(thing.uid), 8).uid, "nick") or nil local string = "You see your "..string.lower(getCreatureName(thing.uid)).." "..levelinfo..".\n" if nick ~= nil then string=string.."His nickname is "..getItemAttribute(getPlayerSlotItem(getCreatureMaster(thing.uid), 8).uid, "nick").."" end
Entendeu ?
-
ClackBoom got a reaction from juninhoxDxP in [Encerrado] [Pokemon] Dúvidas? - Pda
Aee, se alguem tiver o sistema de PROMOTE ( o player fala com o npc e vira de algum clan, e ganha 20% no elemento que ele escolheu + a ropa da clan)
dou REP + pra quem me ajudar, Grato ^^
-
ClackBoom reacted to Slicer in [Encerrado] [Pokemon] Dúvidas? - Pda
@all
na real esquece.. ja arrumei.. alias pra quem ta com problema de player n ganhando exp ou n dando pra dar catch nos pokes.. vai em creaturescripts/script/pokeexp.lua e retire essa linha...
if not isCreature(cid) then return true end
@Dudu08267
ta ae mano ^^ tpw.. da pra tu editar os itens q pede.. mexendo na tabela itens e no nome dos itens q o npc pede e da pra tu modificar o premio no final da quest.. eu coloquei a box 3 pq achu q eh isso q tinhas em mente.. mas podes alterar como quiser.. e se tiver um pouco de conhecimento em scripts pode alterar mais partes tb.. ^^ fica a tua escolha.. mas concelho.. sempre q for mexer em algu nele, faça um backup... e tb eu n testei todas as funcionalidades do npc.. mas parece ta tudo certo... ;x qlqr coisa soh flar...
NPC BOX 3 +/- parecido com o do PxG...
-
Recently Browsing 0 members
- No registered users viewing this page.
