Ir para conteúdo

Featured Replies

Postado

Bom, o addon bonus ja é bem famoso hoje em dia nos ots, todos conhecem né? Enfim..

Queria que 4 addons daria atributos:

Sorcerer > Mage Full::: Magia tiraria 10% a mais.
Druid >  Druid Full::: Magia tiraria 10% a mais.
Paladin > Assassin Full::: Magia tiraria 5% a mais/Curava 5% a mais
Knight > Warrior Full::: Magia tiraria 5% a mais/Curava 5% a mais

Seria possivel? Alguém poderia me ajudar? Fico gratoo !!

Rep++

Editado por brendoonh (veja o histórico de edições)

Resolvido por Sanieg

Ir para solução
  • Respostas 20
  • Visualizações 1.3k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Preciso do script do heal para aumentar os 5%... Hoje em dia todo mundo quer porcentagem  function onLogin(cid) local vocations = { [1] = {19235}, [3] = {19236} } if getCreatureOutfit(cid, lookAddo

  • Lembrando que preciso do script da spell de heal... São todos em data/creaturescripts/scripts: crie sorcererskill.lua com o seguinte: function onStatsChange(cid, target, type, combat, value) if no

  • Paladin: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_

Postado

Acho que se for para fazer isso teria que mudar algumas coisas na source, ou no creaturescript para fazer com que se o player estiver com tal outfit ele ganha tais atributos. Desculpe sou ruim com scripts então não poderei te ajudar :-(

Postado

Preciso do script do heal para aumentar os 5%... Hoje em dia todo mundo quer porcentagem  :hum:

function onLogin(cid)
local vocations = {
[1] = {19235},
[3] = {19236}
}
if getCreatureOutfit(cid, lookAddons) ~= 3 and getPlayerStorageValue(cid, {19235, 19236}) >= 1 then
setPlayerStorageValue(cid, 19235, -getPlayerStorageValue(cid, 19235))
setPlayerStorageValue(cid, 19236, -getPlayerStorageValue(cid, 19236))
end
if getCreatureOutfit(cid, lookAddons) == 3 and getPlayerVocation(cid) == {1,2} then
setPlayerStorageValue(cid, vocations[getPlayerVocation(cid)], 1)
end
return true
end
function onStatsChange(cid, target, type, combat, value)
if not getPlayerStorageValue(cid, 19235) >= 1 then return false end
if math.abs(value) ~= 0 and getCreatureTarget(cid) ~= false then
value = 10 * value / 100 + value --10 é a porcentagem
end
return true
end
function onStatsChange(cid, target, type, combat, value)
if not getPlayerStorageValue(cid, 19236) >= 1 then return false end
if math.abs(value) ~= 0 and getCreatureTarget(cid) ~= false then
value = 5 * value / 100 + value --5 é a porcentagem
end
return true
end

Ando devagar, porque já tive pressa. E levo esse sorriso, porque já chorei demais...

________________________________________________________________________________

Minhas Sprites:

Mega Metagross

Mega Abomasnow

Pack de Shinys

[Posso atualizá-lo com novos shinys a qualquer momento]

Tutoriais:

[Completo] Criando e adicionando um novo Pokémon

[Actions] Criando quest no RME

Editores Lua/Xml/Sync Entre outros:

Editores Win/Mac/Linux

Postado
  • Autor

Vinicius, sou leigo no assunto, teria como falar passo a passo de onde colocar? Já vou dando um REP+ pela coerência de ajudar :D

E caso me dê o passo a passo, mando mais 1 rsrs vlwww

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo