Ir para conteúdo
  • Cadastre-se
  • 0

BUFF HOT SPRING NAO PEGA


New Games

Pergunta

Ola galera estou com um probleminha , eu mato os mobs de hot spring , porem não vem os buff 

como faco pra ativar isso ? uso acis 

segue minha xml skill 

 

<skill id="4551" levels="4" name="Hot Springs Rheumatism">
    <table name="#pDef"> 1 0.96 0.96 0.96 0.92 0.92 0.92 0.88 0.88 0.85 </table>
    <table name="#rCrit"> 30 50 80 100 50 0 0 0 0 0 </table>
    <table name="#stackOrder"> 1 2 3 4 5 6 7 8 9 10 </table>
    <set name="mpInitialConsume" val="14" />
    <set name="mpConsume" val="55" />
    <set name="power" val="100" />
    <set name="magicLvl" val="75" />
    <set name="target" val="TARGET_ONE" />
    <set name="isDebuff" val="true" />
    <set name="skillType" val="DEBUFF" />
    <set name="isMagic" val="true" />
    <set name="operateType" val="OP_ACTIVE" />
    <set name="castRange" val="600" />
    <set name="effectRange" val="1100" />
    <set name="aggroPoints" val="-100" />
    <for>
        <effect name="Debuff" time="3600" val="0" stackOrder="#stackOrder" stackType="spa_disease_a" abnormal="poison">
            <mul order="0x30" stat="pDef" val="#pDef" />
            <add order="0x40" stat="rCrit" val="#rCrit" />
        </effect>
    </for>
</skill>
<skill id="4552" levels="4" name="Hot Springs Cholera">
    <table name="#rEvas"> 0 3 3 3 5 5 5 8 8 10 </table>
    <table name="#accCombat"> 3 6 8 10 6 0 0 0 0 0 </table>
    <table name="#stackOrder"> 1 2 3 4 5 6 7 8 9 10 </table>
    <set name="mpInitialConsume" val="14" />
    <set name="mpConsume" val="55" />
    <set name="power" val="100" />
    <set name="magicLvl" val="75" />
    <set name="target" val="TARGET_ONE" />
    <set name="isDebuff" val="true" />
    <set name="skillType" val="DEBUFF" />
    <set name="isMagic" val="true" />
    <set name="operateType" val="OP_ACTIVE" />
    <set name="castRange" val="600" />
    <set name="effectRange" val="1100" />
    <set name="aggroPoints" val="-100" />
    <for>
        <effect name="Debuff" time="3600" val="0" stackOrder="#stackOrder" stackType="spa_disease_b" abnormal="poison">
            <sub order="0x40" stat="rEvas" val="#rEvas" />
            <add order="0x40" stat="accCombat" val="#accCombat" />
        </effect>
    </for>
</skill>
<skill id="4553" levels="4" name="Hot Springs Flu">
    <table name="#pAtkSpd"> 1.04 1.08 1.12 1.16 1.08 1 1 1 1 1 </table>
    <table name="#pAtk"> 1 0.96 0.96 0.96 0.92 0.92 0.92 0.88 0.88 0.85 </table>
    <table name="#stackOrder"> 1 2 3 4 5 6 7 8 9 10 </table>
    <set name="mpInitialConsume" val="14" />
    <set name="mpConsume" val="55" />
    <set name="power" val="100" />
    <set name="magicLvl" val="75" />
    <set name="target" val="TARGET_ONE" />
    <set name="skillType" val="DEBUFF" />
    <set name="isDebuff" val="true" />
    <set name="isMagic" val="true" />
    <set name="operateType" val="OP_ACTIVE" />
    <set name="castRange" val="600" />
    <set name="effectRange" val="1100" />
    <set name="aggroPoints" val="-100" />
    <for>
        <effect name="Debuff" time="3600" val="0" stackOrder="#stackOrder" stackType="spa_disease_c" abnormal="poison">
            <mul order="0x30" stat="pAtkSpd" val="#pAtkSpd" />
            <mul order="0x30" stat="pAtk" val="#pAtk" />
        </effect>
    </for>
</skill>
<skill id="4554" levels="10" name="Hot Spring Malaria">
    <table name="#mAtkSpd"> 1.04 1.08 1.12 1.16 1.08 1 1 1 1 1 </table>
    <table name="#MpConsumeRate"> 1 0.96 0.96 0.96 0.92 0.92 0.92 0.88 0.88 0.84 </table>
    <table name="#stackOrder"> 1 2 3 4 5 6 7 8 9 10 </table>
    <set name="mpInitialConsume" val="14" />
    <set name="mpConsume" val="55" />
    <set name="power" val="10" />
    <set name="magicLvl" val="75" />
    <set name="target" val="TARGET_ONE" />
    <set name="isDebuff" val="true" />
    <set name="skillType" val="DEBUFF" />
    <set name="isMagic" val="true" />
    <set name="operateType" val="OP_ACTIVE" />
    <set name="castRange" val="600" />
    <set name="effectRange" val="1100" />
    <set name="aggroPoints" val="-100" />
    <for>
        <effect name="buff" time="3600" val="0" stackOrder="#stackOrder" stackType="spa_disease_d" abnormal="poison">
            <mul order="0x30" stat="mAtkSpd" val="#mAtkSpd" />
            <mul order="0x30" stat="MagicalMpConsumeRate" val="#MpConsumeRate" />
        </effect>
    </for>
</skill>
    

Ola prazer , estou aqui para formar amizades e aprender tudo sobre lineage 2

Link para o comentário
Compartilhar em outros sites

18 respostass a esta questão

Posts recomendados

  • 0
1 hora atrás, New Games disse:

Ola galera estou com um probleminha , eu mato os mobs de hot spring , porem não vem os buff 

como faco pra ativar isso ? uso acis 

segue minha xml skill 

 

<skill id="4551" levels="4" name="Hot Springs Rheumatism">
    <table name="#pDef"> 1 0.96 0.96 0.96 0.92 0.92 0.92 0.88 0.88 0.85 </table>
    <table name="#rCrit"> 30 50 80 100 50 0 0 0 0 0 </table>
    <table name="#stackOrder"> 1 2 3 4 5 6 7 8 9 10 </table>
    <set name="mpInitialConsume" val="14" />
    <set name="mpConsume" val="55" />
    <set name="power" val="100" />
    <set name="magicLvl" val="75" />
    <set name="target" val="TARGET_ONE" />
    <set name="isDebuff" val="true" />
    <set name="skillType" val="DEBUFF" />
    <set name="isMagic" val="true" />
    <set name="operateType" val="OP_ACTIVE" />
    <set name="castRange" val="600" />
    <set name="effectRange" val="1100" />
    <set name="aggroPoints" val="-100" />
    <for>
        <effect name="Debuff" time="3600" val="0" stackOrder="#stackOrder" stackType="spa_disease_a" abnormal="poison">
            <mul order="0x30" stat="pDef" val="#pDef" />
            <add order="0x40" stat="rCrit" val="#rCrit" />
        </effect>
    </for>
</skill>
<skill id="4552" levels="4" name="Hot Springs Cholera">
    <table name="#rEvas"> 0 3 3 3 5 5 5 8 8 10 </table>
    <table name="#accCombat"> 3 6 8 10 6 0 0 0 0 0 </table>
    <table name="#stackOrder"> 1 2 3 4 5 6 7 8 9 10 </table>
    <set name="mpInitialConsume" val="14" />
    <set name="mpConsume" val="55" />
    <set name="power" val="100" />
    <set name="magicLvl" val="75" />
    <set name="target" val="TARGET_ONE" />
    <set name="isDebuff" val="true" />
    <set name="skillType" val="DEBUFF" />
    <set name="isMagic" val="true" />
    <set name="operateType" val="OP_ACTIVE" />
    <set name="castRange" val="600" />
    <set name="effectRange" val="1100" />
    <set name="aggroPoints" val="-100" />
    <for>
        <effect name="Debuff" time="3600" val="0" stackOrder="#stackOrder" stackType="spa_disease_b" abnormal="poison">
            <sub order="0x40" stat="rEvas" val="#rEvas" />
            <add order="0x40" stat="accCombat" val="#accCombat" />
        </effect>
    </for>
</skill>
<skill id="4553" levels="4" name="Hot Springs Flu">
    <table name="#pAtkSpd"> 1.04 1.08 1.12 1.16 1.08 1 1 1 1 1 </table>
    <table name="#pAtk"> 1 0.96 0.96 0.96 0.92 0.92 0.92 0.88 0.88 0.85 </table>
    <table name="#stackOrder"> 1 2 3 4 5 6 7 8 9 10 </table>
    <set name="mpInitialConsume" val="14" />
    <set name="mpConsume" val="55" />
    <set name="power" val="100" />
    <set name="magicLvl" val="75" />
    <set name="target" val="TARGET_ONE" />
    <set name="skillType" val="DEBUFF" />
    <set name="isDebuff" val="true" />
    <set name="isMagic" val="true" />
    <set name="operateType" val="OP_ACTIVE" />
    <set name="castRange" val="600" />
    <set name="effectRange" val="1100" />
    <set name="aggroPoints" val="-100" />
    <for>
        <effect name="Debuff" time="3600" val="0" stackOrder="#stackOrder" stackType="spa_disease_c" abnormal="poison">
            <mul order="0x30" stat="pAtkSpd" val="#pAtkSpd" />
            <mul order="0x30" stat="pAtk" val="#pAtk" />
        </effect>
    </for>
</skill>
<skill id="4554" levels="10" name="Hot Spring Malaria">
    <table name="#mAtkSpd"> 1.04 1.08 1.12 1.16 1.08 1 1 1 1 1 </table>
    <table name="#MpConsumeRate"> 1 0.96 0.96 0.96 0.92 0.92 0.92 0.88 0.88 0.84 </table>
    <table name="#stackOrder"> 1 2 3 4 5 6 7 8 9 10 </table>
    <set name="mpInitialConsume" val="14" />
    <set name="mpConsume" val="55" />
    <set name="power" val="10" />
    <set name="magicLvl" val="75" />
    <set name="target" val="TARGET_ONE" />
    <set name="isDebuff" val="true" />
    <set name="skillType" val="DEBUFF" />
    <set name="isMagic" val="true" />
    <set name="operateType" val="OP_ACTIVE" />
    <set name="castRange" val="600" />
    <set name="effectRange" val="1100" />
    <set name="aggroPoints" val="-100" />
    <for>
        <effect name="buff" time="3600" val="0" stackOrder="#stackOrder" stackType="spa_disease_d" abnormal="poison">
            <mul order="0x30" stat="mAtkSpd" val="#mAtkSpd" />
            <mul order="0x30" stat="MagicalMpConsumeRate" val="#MpConsumeRate" />
        </effect>
    </for>
</skill>
    

bom dia, brother o "debuff" de hot springs nao e conseguindo matando o mob, vc precisa da um ataque e espera ele te atacar ate aparece o debuff lv 4 de perferencia, caso contrario para usa no AIO ou NPC como buff você precisa alterar duas opções.

EX:

  <set name="skillType" val="BUFF" />
    <set name="isDebuff" val="false" />

Link para o comentário
Compartilhar em outros sites


  • 0
7 horas atrás, pomboLa2 disse:

bom dia, brother o "debuff" de hot springs nao e conseguindo matando o mob, vc precisa da um ataque e espera ele te atacar ate aparece o debuff lv 4 de perferencia, caso contrario para usa no AIO ou NPC como buff você precisa alterar duas opções.

EX:

  <set name="skillType" val="BUFF" />
    <set name="isDebuff" val="false" />

então meu amigo ja fiz isso , esperei ele atakar , ate tirar quase toda a minha vida e não peguei os hot , fiz isso em mais de 10 mobs

Ola prazer , estou aqui para formar amizades e aprender tudo sobre lineage 2

Link para o comentário
Compartilhar em outros sites

  • 0
8 horas atrás, New Games disse:

então meu amigo ja fiz isso , esperei ele atakar , ate tirar quase toda a minha vida e não peguei os hot , fiz isso em mais de 10 mobs

Você está com char normal ou adm?

Posso todas as coisas naquele que me fortalece.

Filipenses 4:13 😀

Saimon Cordeiro.gif

Link para o comentário
Compartilhar em outros sites

  • 0
2 horas atrás, SaYmOn Cordeiro disse:

Você está com char normal ou adm?

ESTOU COM CHAR NORMAL !

4 horas atrás, Sarada disse:

qual acis ta usando ?

Rapaz não lembro , to usando um compilado do oseias 

Ola prazer , estou aqui para formar amizades e aprender tudo sobre lineage 2

Link para o comentário
Compartilhar em outros sites

  • 0
47 minutos atrás, New Games disse:

ESTOU COM CHAR NORMAL !

Rapaz não lembro , to usando um compilado do oseias 

ve se a quest host ta ativada, ve HotSpringDisease.java

// Diseases
    private static final int MALARIA = 4554;
    
    // Chance
    private static final int DISEASE_CHANCE = 1;

Link para o comentário
Compartilhar em outros sites

  • 0
1 minuto atrás, Sarada disse:

ve se a quest host ta ativada, ve HotSpringDisease.java

// Diseases
    private static final int MALARIA = 4554;
    
    // Chance
    private static final int DISEASE_CHANCE = 1;

Ela ta assim olha 

 

/*
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */
package ai.group;

import ai.AbstractNpcAI;

import net.sf.l2j.gameserver.datatables.SkillTable;
import net.sf.l2j.gameserver.model.L2Effect;
import net.sf.l2j.gameserver.model.actor.L2Npc;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.model.quest.QuestEventType;
import net.sf.l2j.util.Rnd;

/**
 * Hot Spring Disease AI
 * @author devO, Sandro, Tryskell
 */
public class HotSpringDisease extends AbstractNpcAI
{
    // Diseases
    private static final int MALARIA = 4554;
    
    // Chance
    private static final int DISEASE_CHANCE = 1;
    
    // Monsters
    private static final int[][] MONSTERS_DISEASES =
    {
        {
            21314,
            21316,
            21317,
            21319,
            21321,
            21322
        },
        {
            4551,
            4552,
            4553,
            4552,
            4551,
            4553
        }
    };
    
    public HotSpringDisease(String name, String descr)
    {
        super(name, descr);
        registerMobs(MONSTERS_DISEASES[0], QuestEventType.ON_ATTACK_ACT);
    }
    
    @Override
    public String onAttackAct(L2Npc npc, L2PcInstance victim)
    {
        for (int i = 0; i < 6; i++)
        {
            if (MONSTERS_DISEASES[0] != npc.getNpcId())
                continue;
            
            tryToApplyEffect(npc, victim, MALARIA);
            tryToApplyEffect(npc, victim, MONSTERS_DISEASES[1]);
        }
        return super.onAttackAct(npc, victim);
    }
    
    private void tryToApplyEffect(L2Npc npc, L2PcInstance victim, int skillId)
    {
        if (Rnd.get(100) < DISEASE_CHANCE)
        {
            int level = 1;
            
            L2Effect[] effects = victim.getAllEffects();
            if (effects.length != 0 || effects != null)
            {
                for (L2Effect e : effects)
                {
                    if (e.getSkill().getId() != skillId)
                        continue;
                    
                    level += e.getSkill().getLevel();
                    e.exit();
                }
            }
            
            if (level > 10)
                level = 10;
            
            SkillTable.getInstance().getInfo(skillId, level).getEffects(npc, victim);
        }
    }
    
    public static void main(String[] args)
    {
        new HotSpringDisease(HotSpringDisease.class.getSimpleName(), "ai/group");
    }
}

Ola prazer , estou aqui para formar amizades e aprender tudo sobre lineage 2

Link para o comentário
Compartilhar em outros sites

  • 0
1 minuto atrás, New Games disse:

Ela ta assim olha 

 

/*
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */
package ai.group;

import ai.AbstractNpcAI;

import net.sf.l2j.gameserver.datatables.SkillTable;
import net.sf.l2j.gameserver.model.L2Effect;
import net.sf.l2j.gameserver.model.actor.L2Npc;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.model.quest.QuestEventType;
import net.sf.l2j.util.Rnd;

/**
 * Hot Spring Disease AI
 * @author devO, Sandro, Tryskell
 */
public class HotSpringDisease extends AbstractNpcAI
{
    // Diseases
    private static final int MALARIA = 4554;
    
    // Chance
    private static final int DISEASE_CHANCE = 1;
    
    // Monsters
    private static final int[][] MONSTERS_DISEASES =
    {
        {
            21314,
            21316,
            21317,
            21319,
            21321,
            21322
        },
        {
            4551,
            4552,
            4553,
            4552,
            4551,
            4553
        }
    };
    
    public HotSpringDisease(String name, String descr)
    {
        super(name, descr);
        registerMobs(MONSTERS_DISEASES[0], QuestEventType.ON_ATTACK_ACT);
    }
    
    @Override
    public String onAttackAct(L2Npc npc, L2PcInstance victim)
    {
        for (int i = 0; i < 6; i++)
        {
            if (MONSTERS_DISEASES[0] != npc.getNpcId())
                continue;
            
            tryToApplyEffect(npc, victim, MALARIA);
            tryToApplyEffect(npc, victim, MONSTERS_DISEASES[1]);
        }
        return super.onAttackAct(npc, victim);
    }
    
    private void tryToApplyEffect(L2Npc npc, L2PcInstance victim, int skillId)
    {
        if (Rnd.get(100) < DISEASE_CHANCE)
        {
            int level = 1;
            
            L2Effect[] effects = victim.getAllEffects();
            if (effects.length != 0 || effects != null)
            {
                for (L2Effect e : effects)
                {
                    if (e.getSkill().getId() != skillId)
                        continue;
                    
                    level += e.getSkill().getLevel();
                    e.exit();
                }
            }
            
            if (level > 10)
                level = 10;
            
            SkillTable.getInstance().getInfo(skillId, level).getEffects(npc, victim);
        }
    }
    
    public static void main(String[] args)
    {
        new HotSpringDisease(HotSpringDisease.class.getSimpleName(), "ai/group");
    }
}

acho que aqui seria chance -> private static final int DISEASE_CHANCE = 1; deve ta 1%, coloca 100  e testa

mas caso n funcione, talvez script esteja desativado, abre scripts.xml e vai ate nome da quest e ve se não ta com # antes do nome

exemplo #HotSpringDisease , tire o #

Link para o comentário
Compartilhar em outros sites

  • 0
21 minutos atrás, Sarada disse:

acho que aqui seria chance -> private static final int DISEASE_CHANCE = 1; deve ta 1%, coloca 100  e testa

mas caso n funcione, talvez script esteja desativado, abre scripts.xml e vai ate nome da quest e ve se não ta com # antes do nome

exemplo #HotSpringDisease , tire o #

Muito obrigado , tirei o # e alterei pra de 1 pra 30 = 30% chance , deu certinho ! Obrigado

Ola prazer , estou aqui para formar amizades e aprender tudo sobre lineage 2

Link para o comentário
Compartilhar em outros sites

  • 0
24 minutos atrás, Sarada disse:

acho que aqui seria chance -> private static final int DISEASE_CHANCE = 1; deve ta 1%, coloca 100  e testa

mas caso n funcione, talvez script esteja desativado, abre scripts.xml e vai ate nome da quest e ve se não ta com # antes do nome

exemplo #HotSpringDisease , tire o #

mais uma duvida , cholera e malaria ta vindo normal , agora o flu e o reumatism não ta vindo !

Ola prazer , estou aqui para formar amizades e aprender tudo sobre lineage 2

Link para o comentário
Compartilhar em outros sites

  • 0
20 minutos atrás, Sarada disse:

depende mob, olha outro mob

da lista dele

tipo eu queria pegar os 4 buff dos mob , porem se eu vou sem buff pra hot e mato o lobo ai vem flu e reumatinsm 

se eu vou  sem buff e mato flava vem malaria e cholera , queria colocar os 4 buff na barra de buffs

Ola prazer , estou aqui para formar amizades e aprender tudo sobre lineage 2

Link para o comentário
Compartilhar em outros sites

  • 0
1 minuto atrás, New Games disse:

tipo eu queria pegar os 4 buff dos mob , porem se eu vou sem buff pra hot e mato o lobo ai vem flu e reumatinsm 

se eu vou  sem buff e mato flava vem malaria e cholera , queria colocar os 4 buff na barra de buffs

cada mob da skill diferente so pega normal

Link para o comentário
Compartilhar em outros sites

  • 0
1 minuto atrás, Sarada disse:

cada mob da skill diferente so pega normal

se eu matar so o flava vem cholera e malaria , nao vem flu dos outros mob e nem reumatism

ai se eu cancelar os buff e matar de novo os mob ai vem flu e reumatism , porem não vem malaria e cholera

e como se tivesse substituindo bloqueio pra pegar so 2 buff no maximo !

Ola prazer , estou aqui para formar amizades e aprender tudo sobre lineage 2

Link para o comentário
Compartilhar em outros sites

  • 0
38 minutos atrás, pomboLa2 disse:

troca esse valor aqui

<set name="power" val="10" />

por esse

<set name="power" val="100" />

isso ja foi resolvido acima , porem o problema agora é que quero pegar os 4 buff de hot sprint , malaria cholera , reumatins e flu , porem so vem 2 buff na barra 

se eu mato flava vem cholera e malaria 

se eu mato lobo preto vem flu e reumatism 

nao vem os 4 , so vem 2 buff , mesto se todos me atakarem

Ola prazer , estou aqui para formar amizades e aprender tudo sobre lineage 2

Link para o comentário
Compartilhar em outros sites

  • 0
1 minuto atrás, New Games disse:

isso ja foi resolvido acima , porem o problema agora é que quero pegar os 4 buff de hot sprint , malaria cholera , reumatins e flu , porem so vem 2 buff na barra 

se eu mato flava vem cholera e malaria 

se eu mato lobo preto vem flu e reumatism 

nao vem os 4 , so vem 2 buff , mesto se todos me atakarem

ve se n tem limite debuff na config, as veses tem q aumentar ele.

Link para o comentário
Compartilhar em outros sites

  • 0
1 minuto atrás, Sarada disse:

ve se n tem limite debuff na config, as veses tem q aumentar ele.

não estou achando a config de debuff , ja abri todas as config , dei ctrl +f com note pad , escrevi debuff e nao achei nenhum arquivo 

Ola prazer , estou aqui para formar amizades e aprender tudo sobre lineage 2

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.