-
Total de itens
915 -
Registro em
-
Última visita
-
Prêmios recebidos
4
gleyce123 last won the day on Setembro 25 2023
gleyce123 had the most liked content!
Sobre gleyce123
- Data de Nascimento 12/31/1989
Informação do Perfil
-
Gênero
Feminino
Últimos Visitantes
8328 visualizações
gleyce123's Achievements
-
Josue.18RJ começou a seguir gleyce123
-
é pra H5 pra interlude só se adaptar as linhas.
-
Boss Baylor (Com sons, skills e animações)
Tópico respondeu ao Archadian de gleyce123 em Conteúdo Offline
link of alguem tem o link ? -
Galera antes eu usava <set name="attackRange" val="1000"/> na xml do mob pra poder aumentar o range do mob pq ele é um arqueiro, antes que eu falo é acis 370 hj na acis 405 n consigo coloco isso na xml do npc e não funciona mais.. alguém tem ideia de como posso aumentar o range de ataque do mob ? pq eu ja tentei de tudo.
-
NPC Monster + Effects (Animations and Sound) - [INTERLUDE]
Tópico respondeu ao boich00 de gleyce123 em C1 - Interlude
up alguém com os npcs completos ? -
Não deu certo irmão.
-
sim nao ta funcionando
-
fiz dessa maneira ai em cima e nao funcionou peguei em base o queenant
-
package net.sf.l2j.gameserver.scripting.script.ai.boss; import net.sf.l2j.commons.random.Rnd; import net.sf.l2j.gameserver.data.SkillTable.FrequentSkill; import net.sf.l2j.gameserver.enums.skills.ElementType; import net.sf.l2j.gameserver.model.actor.Attackable; import net.sf.l2j.gameserver.model.actor.Creature; import net.sf.l2j.gameserver.model.actor.Npc; import net.sf.l2j.gameserver.model.actor.Playable; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.scripting.script.ai.AttackableAIScript; import net.sf.l2j.gameserver.skills.L2Skill; public abstract class fafurionguard extends AttackableAIScript { // Grand boss private static final int FAFURIONGUARD = 70005; // Monsters //private static final int QUEEN_ANT_LARVA = 29002; //private static final int NURSE_ANT = 29003; //private static final int GUARD_ANT = 29004; //private static final int ROYAL_GUARD_ANT = 29005; //public static final byte DEAD = 3; //public static final byte ALIVE = 0; public fafurionguard() { } @Override public void onOutOfTerritory(Npc npc) { ((Attackable) npc).getAggroList().clear(); npc.teleportTo(npc.getSpawnLocation(), 0); } @Override public void onAttacked(Npc npc, Creature attacker, int damage, L2Skill skill) { if (attacker instanceof Playable) { // Curses if (attacker.testCursesOnAttack(npc, FAFURIONGUARD)) return; // Pick current attacker, and make actions based on it and the actual distance range seperating them. if (npc.getNpcId() == FAFURIONGUARD) { if (skill != null && skill.getElement() == ElementType.FIRE && Rnd.get(100) < 70) npc.getAI().tryToCast(attacker, FrequentSkill.QUEEN_ANT_STRIKE.getSkill()); else { final double dist = npc.distance3D(attacker); if (dist > 500 && Rnd.get(100) < 10) npc.getAI().tryToCast(attacker, FrequentSkill.QUEEN_ANT_STRIKE.getSkill()); else if (dist > 150 && Rnd.get(100) < 10) npc.getAI().tryToCast(attacker, (Rnd.get(10) < 8) ? FrequentSkill.QUEEN_ANT_STRIKE.getSkill() : FrequentSkill.QUEEN_ANT_SPRINKLE.getSkill()); else if (dist < 250 && Rnd.get(100) < 5) npc.getAI().tryToCast(attacker, FrequentSkill.QUEEN_ANT_BRANDISH.getSkill()); } } } super.onAttacked(npc, attacker, damage, skill); } @Override public void onSeeCreature(Npc npc, Creature creature) { if (creature instanceof Playable && creature.testCursesOnAggro(npc)) return; super.onSeeCreature(npc, creature); } @Override public void onMyDying(Npc npc, Creature killer) { {/* * // Set the respawn time of Royal Guards and Nurses. Pick the npc master. final Monster minion = ((Monster) npc); final Monster master = minion.getMaster(); if (master != null && master.hasMinions()) master.getMinionList().onMinionDie(minion, (npc.getNpcId() == NURSE_ANT) ? 10000 : * (280000 + (Rnd.get(40) * 1000))); return null; */ } super.onMyDying(npc, killer); } @Override public void onPartyAttacked(Npc caller, Npc called, Creature target, int damage) { switch (called.getNpcId()) { case FAFURIONGUARD: final double dist = called.distance3D(target); if (dist > 500 && Rnd.get(100) < 5) called.getAI().tryToCast(target, FrequentSkill.FAFURION_GUARD_70004.getSkill()); else if (dist > 150 && Rnd.get(100) < 5) called.getAI().tryToCast(target, (Rnd.get(100) < 80) ? FrequentSkill.FAFURION_GUARD_70004.getSkill() : FrequentSkill.QUEEN_ANT_STRIKE.getSkill()); else if (dist < 250 && Rnd.get(100) < 2) called.getAI().tryToCast(target, FrequentSkill.FAFURION_GUARD_70004.getSkill()); break; } } @Override public void onSeeSpell(Npc npc, Player caster, L2Skill skill, Creature[] targets, boolean isPet) { final Playable realAttacker = (isPet && caster.getSummon() != null) ? caster.getSummon() : caster; // If Queen Ant see an aggroable skill, try to launch Queen Ant Strike. if (npc.getNpcId() == FAFURIONGUARD && skill.getAggroPoints() > 0 && Rnd.get(100) < 15) npc.getAI().tryToCast(realAttacker, FrequentSkill.FAFURION_GUARD_70005.getSkill()); super.onSeeSpell(npc, caster, skill, targets, isPet); } } tentei fazer um exemplo como queen ant mais nao deu certo..
-
Se tiver pronto um poderia me dar um exemplo de como fazer?
-
uso acis 405 n tem isso
-
Sim essa parte estou ciente oque queria saber era onde criar o script
-
em que parte teria que criar e como ligar isso com as skills do xml ?
-
adicionar no java vc fala?
-
Atualizações Recentes de Status
-
Por favor, compartilhe a fonte da versão revisada do Orion. Obrigado.· 0 respostas
please...
-
The Event - Team vs Team· 0 respostas
The Event - Team vs Team
The event cannot be terminated when participating in the event.
The event does not end.
The event starts and does not end after teleporting.
Please tell me how. Please.
Even if the event is held for 2 minutes, it will not end.
I don't know how to proceed...