Ir para conteúdo
  • Cadastre-se

(Resolvido){Pedido} Addon Bonus


Ir para solução Resolvido por Sanieg,

Posts Recomendados

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)
Link para o post
Compartilhar em outros sites
  • Respostas 20
  • Created
  • Última resposta

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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, 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 set

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 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 depois knightskill.lua com: function onStatsChange(cid, target, type, combat, value) if not

Paladin: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)  function getCombatFormulas(cid, lv, maglv) local formula_min = ((lv*0.4 + maglv*3) * 3.3) local formula_max = ((lv*0.4 + maglv*3) * 3.6) local tmp = formula_max if(formula_max < formula_min) then if getPlaye

Link para o post
Compartilhar em outros sites

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

Link para o post
Compartilhar em outros sites

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

Link para o post
Compartilhar em outros sites

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

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Estatísticas dos Fóruns

    96846
    Tópicos
    519606
    Posts



×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo