Ir para conteúdo
  • Cadastre-se
  • 0

Como adicionar MALARIA ... no npc buffer :) '


synckmaster

Pergunta

6 respostass a esta questão

Posts recomendados

  • 0

mano vc pode mesmo adicionar manualmente no seu npc buffer atual criando uma nova opção e linkando com o id da skill de buff..
ou pegar um npc pronto que contenha também ..
ou postar mais detalhadamente e ai a gente ajuda.

Link para o comentário
Compartilhar em outros sites


  • 0

Boa noite galera da l2jbrasil , já andei pesquisando e não vi ainda algo relacionado a adicionar buffer no npc buffer , no qual é o meu caso em querer adicionar malária , flur , cholera ... se puderam postar seria interessante Abraços :)'

 

Já conseguiu ? caso não tenha conseguido me diga que eu adiciono pra você.

Minha mae falou para eu colocar comida para o papagaio, eu simplesmente levantei e coloquei comida pro papagaio.

Link para o comentário
Compartilhar em outros sites

  • 0

adiciona os buff nos seu npc no arquivo PY gameserver\data\scripts\custom\XXX_NPCBuffer/ __init__

#Chorela
if event == "104": --> conforme for a seguencia no seu npc. aconcelho colocar no final , ver qual é o ultimo e continua, verifique tbm se ja nao tem os buffs hot
st.takeItems(ADENA_ID,0)
SkillTable.getInstance().getInfo(4552,4).getEffects(st.getPlayer(),st.getPlayer())
return "9.htm" id e level do buff
st.setState(COMPLETED)

#Malaria
if event == "105":
st.takeItems(ADENA_ID,0)
SkillTable.getInstance().getInfo(4554,4).getEffects(st.getPlayer(),st.getPlayer())
return "9.htm"
st.setState(COMPLETED)

#Flu
if event == "106":
st.takeItems(ADENA_ID,0)
SkillTable.getInstance().getInfo(4553,4).getEffects(st.getPlayer(),st.getPlayer())
return "9.htm"
st.setState(COMPLETED)

#Rhamister
if event == "107":
st.takeItems(ADENA_ID,0)
SkillTable.getInstance().getInfo(4551,4).getEffects(st.getPlayer(),st.getPlayer())
return "9.htm"
st.setState(COMPLETED)

 

DEPOIS VOCE ADICIONA NAS HTML

<td align=center><button value="Special Buffs" action="bypass -h Quest 9999_NPCBuffer 9.htm" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
aqui vai ser onde eu vou colocar os buffs siginifica que Special Buffs é o chat 9 entao vc vai procurar o 9 (fica na mesma pasta) e add os buff la... obs esse é o meu npc , o seu pode ta com o nome e o numeo do chat diferente

 

JA ACHADO O CHAT 9 VC ADD PROPRIAMENTE DITO OS BUFF

<table>
<tr>
<td width=40><button action="bypass -h Quest 9999_NPCBuffer 104" width=32 height=32 back="icon.skill1164" fore="icon.skill1164"></td>
<td width=260> LEMBRE QUE VC VAI USAR OS NUMERO QUE VC ADD NO ARQUIVO PY
<table>
<tr><td><font color="FFFFFF">Hot Springs Cholera</td></tr>
<tr><td><font color="777777">Increases accuracy,decresead Evasion.</font></td></tr>
</table>
</td>
</tr>
</table>

<table bgcolor=000000>
<tr>
<td width=40><button action="bypass -h Quest 9999_NPCBuffer 105" width=32 height=32 back="icon.skill1164" fore="icon.skill1164"></td>
<td width=260>
<table>
<tr><td><font color="3A5FCD">Hot Springs Malaria</td></tr>
<tr><td><font color="777777">Increases Casting Speed.</font></td></tr>
</table>
</td>
</tr>
</table>

<table>
<tr>
<td width=40><button action="bypass -h Quest 9999_NPCBuffer 106" width=32 height=32 back="icon.skill1164" fore="icon.skill1164"></td>
<td width=260>
<table>
<tr><td><font color="FFFFFF">Hot Springs Flu</td></tr>
<tr><td><font color="777777">Increases Atk spd,decresead P.atk.</font></td></tr>
</table>
</td>
</tr>
</table>

<table bgcolor=000000>
<tr>
<td width=40><button action="bypass -h Quest 9999_NPCBuffer 107" width=32 height=32 back="icon.skill1164" fore="icon.skill1164"></td>
<td width=260>
<table>
<tr><td><font color="3A5FCD">Hot Springs Rheumatism</td></tr>
<tr><td><font color="777777">Increases Crit atk,decresead P.def.</font></td></tr>
</table>
</td>
</tr>
</table>

 

 

Espero ter ajudado, SE TU NAO CONSEGUIR AGORA , TU NAO É NORMAL ! RSRSRSRS

Editado por Gedeon Maggot

de.png

Link para o comentário
Compartilhar em outros sites

  • 0
Em 16/03/2016 at 21:15, Gedeon Maggot disse:

adiciona os buff nos seu npc no arquivo PY gameserver\data\scripts\custom\XXX_NPCBuffer/ __init__

#Chorela
if event == "104": --> conforme for a seguencia no seu npc. aconcelho colocar no final , ver qual é o ultimo e continua, verifique tbm se ja nao tem os buffs hot
st.takeItems(ADENA_ID,0)
SkillTable.getInstance().getInfo(4552,4).getEffects(st.getPlayer(),st.getPlayer())
return "9.htm" id e level do buff
st.setState(COMPLETED)

#Malaria
if event == "105":
st.takeItems(ADENA_ID,0)
SkillTable.getInstance().getInfo(4554,4).getEffects(st.getPlayer(),st.getPlayer())
return "9.htm"
st.setState(COMPLETED)

#Flu
if event == "106":
st.takeItems(ADENA_ID,0)
SkillTable.getInstance().getInfo(4553,4).getEffects(st.getPlayer(),st.getPlayer())
return "9.htm"
st.setState(COMPLETED)

#Rhamister
if event == "107":
st.takeItems(ADENA_ID,0)
SkillTable.getInstance().getInfo(4551,4).getEffects(st.getPlayer(),st.getPlayer())
return "9.htm"
st.setState(COMPLETED)

 

DEPOIS VOCE ADICIONA NAS HTML

<td align=center><button value="Special Buffs" action="bypass -h Quest 9999_NPCBuffer 9.htm" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
aqui vai ser onde eu vou colocar os buffs siginifica que Special Buffs é o chat 9 entao vc vai procurar o 9 (fica na mesma pasta) e add os buff la... obs esse é o meu npc , o seu pode ta com o nome e o numeo do chat diferente

 

JA ACHADO O CHAT 9 VC ADD PROPRIAMENTE DITO OS BUFF

<table>
<tr>
<td width=40><button action="bypass -h Quest 9999_NPCBuffer 104" width=32 height=32 back="icon.skill1164" fore="icon.skill1164"></td>
<td width=260> LEMBRE QUE VC VAI USAR OS NUMERO QUE VC ADD NO ARQUIVO PY
<table>
<tr><td><font color="FFFFFF">Hot Springs Cholera</td></tr>
<tr><td><font color="777777">Increases accuracy,decresead Evasion.</font></td></tr>
</table>
</td>
</tr>
</table>

<table bgcolor=000000>
<tr>
<td width=40><button action="bypass -h Quest 9999_NPCBuffer 105" width=32 height=32 back="icon.skill1164" fore="icon.skill1164"></td>
<td width=260>
<table>
<tr><td><font color="3A5FCD">Hot Springs Malaria</td></tr>
<tr><td><font color="777777">Increases Casting Speed.</font></td></tr>
</table>
</td>
</tr>
</table>

<table>
<tr>
<td width=40><button action="bypass -h Quest 9999_NPCBuffer 106" width=32 height=32 back="icon.skill1164" fore="icon.skill1164"></td>
<td width=260>
<table>
<tr><td><font color="FFFFFF">Hot Springs Flu</td></tr>
<tr><td><font color="777777">Increases Atk spd,decresead P.atk.</font></td></tr>
</table>
</td>
</tr>
</table>

<table bgcolor=000000>
<tr>
<td width=40><button action="bypass -h Quest 9999_NPCBuffer 107" width=32 height=32 back="icon.skill1164" fore="icon.skill1164"></td>
<td width=260>
<table>
<tr><td><font color="3A5FCD">Hot Springs Rheumatism</td></tr>
<tr><td><font color="777777">Increases Crit atk,decresead P.def.</font></td></tr>
</table>
</td>
</tr>
</table>

Boa tarde amigo.

Desculpe o time lapse desta pergunta à data de sua publicação, mas estou com problemas nesta parte.

Adicionei certinho como vc disse ai acima, aparece in-game e consigo clicar no botão, mas ele não executa nenhuma ação, a janela do chat some, pego meu target mas não aciona os buffs (nesta lógica citada, adicionei os Resists juntamente com os buffs de Hot Springs).

P.S: Em relação aos Hot Springs, ja alterei eles para BUFF no stats/skill/4500-4599.xml.

 

EDIT

Consegui arrumar!

Estava faltando "Quest" em  [bypass -h Quest 9999_NPCBuffer X]

Editado por MarcioAdmin
Arrumado!

"Não podemos alterar o passado e desenhar um novo agora, mas podemos alterar o agora e desenhar um novo amanhã"

Link para o comentário
Compartilhar em outros sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder esta pergunta...

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

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...




×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.