Olan trein 0 Posted July 1, 2020 Report Share Posted July 1, 2020 Preciso de uma Spell que daria um "buff" de 50% no ataque seguinte, ja tentei pelo Newstastus systen e n foi. Link to comment https://xtibia.com/forum/topic/251974-spell-de-buff-para-poketibia/ Share on other sites More sharing options...
1 xmaster0 3 Posted August 5, 2020 Report Share Posted August 5, 2020 (edited) blz, esse é mais fácil vai em pokemonmoves, procura por : if getPlayerStorageValue(cid, 253) >= 0 e adiciona em cima --- aumentar ---------------------------------- if getPlayerStorageValue(cid, 22153) >= 0 and table ~= "" and table.f ~= 0 then --alterado v1.6 min = min * 1.5 max = max * 1.5 setPlayerStorageValue(cid, 22153, -1) end agora vai na magia q tu quer e adiciona essa storage, ex elseif spell == "teste" then setPlayerStorageValue(cid, 22153, 1) obs la onde está min = min * 1.5 e max = max * 1.5 se tu deixar só por 1 continua a mesma coisa, porém 1.5, é o dano q daria + 0.5, ou seja + 50%, se tu quiser o dobro tu multiplica por 2 obs2 : so o proximo ataque q vai tá tunado, o terceiro ataque ja estaria normal Edited August 5, 2020 by xmaster0 obs Olan trein 1 Link to comment https://xtibia.com/forum/topic/251974-spell-de-buff-para-poketibia/#findComment-1761634 Share on other sites More sharing options...
0 xmaster0 3 Posted August 5, 2020 Report Share Posted August 5, 2020 o proximo ataque sugaria 50% a mais? Link to comment https://xtibia.com/forum/topic/251974-spell-de-buff-para-poketibia/#findComment-1761617 Share on other sites More sharing options...
0 Olan trein 0 Posted August 5, 2020 Author Report Share Posted August 5, 2020 O proximo ataque iria dar 50% a mais de dano. por exemplo, uso esse "calm mind", e ai o atk seguinte daria 50% a mais de dano. Esse atk x, vamos supor que da 5000 de dano. Ao usar esse calm mind, esse ataque daria 7.500... Link to comment https://xtibia.com/forum/topic/251974-spell-de-buff-para-poketibia/#findComment-1761623 Share on other sites More sharing options...
Question
Olan trein 0
Preciso de uma Spell que daria um "buff" de 50% no ataque seguinte, ja tentei pelo Newstastus systen e n foi.
Link to comment
https://xtibia.com/forum/topic/251974-spell-de-buff-para-poketibia/Share on other sites
3 answers to this question
Recommended Posts