Examples of altOnMagicUseTimer()


Examples of lineage2.gameserver.model.instances.NpcInstance.altOnMagicUseTimer()

      actor.altOnMagicUseTimer(actor, s_regen2);
      _hpStage = 2;
    }
    else if ((chp < 50) && (_hpStage == 2))
    {
      actor.altOnMagicUseTimer(actor, s_regen3);
      _hpStage = 3;
    }
    else if ((chp < 30) && (_hpStage == 3))
    {
      actor.altOnMagicUseTimer(actor, s_regen3);
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.altOnMagicUseTimer()

      actor.altOnMagicUseTimer(actor, s_regen3);
      _hpStage = 3;
    }
    else if ((chp < 30) && (_hpStage == 3))
    {
      actor.altOnMagicUseTimer(actor, s_regen3);
      _hpStage = 4;
    }
    if ((_minionsSpawnDelay < System.currentTimeMillis()) && (getAliveMinionsCount() < 30) && Rnd.chance(5))
    {
      final NpcInstance minion = Functions.spawn(Location.findPointToStay(actor.getLoc(), 400, 700, actor.getGeoIndex()), Rnd.chance(50) ? 29190 : 29069);
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.altOnMagicUseTimer()

      }
    }
    npc.setRunning();
    if (Rnd.chance(30))
    {
      npc.altOnMagicUseTimer(npc, SkillTable.getInstance().getInfo(6757, 1));
    }
    try
    {
      addTaskMove(Location.findPointToStay(_points[_lastPoint], 250, npc.getGeoIndex()), true);
    }
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.altOnMagicUseTimer()

    }
    final double distance = actor.getDistance(target);
    final double chp = actor.getCurrentHpPercents();
    if (_hpStage == 0)
    {
      actor.altOnMagicUseTimer(actor, getSkill(4691, 1));
      _hpStage = 1;
    }
    else if ((chp < 80) && (_hpStage == 1))
    {
      actor.altOnMagicUseTimer(actor, getSkill(4691, 2));
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.altOnMagicUseTimer()

      actor.altOnMagicUseTimer(actor, getSkill(4691, 1));
      _hpStage = 1;
    }
    else if ((chp < 80) && (_hpStage == 1))
    {
      actor.altOnMagicUseTimer(actor, getSkill(4691, 2));
      defenceDownTimer = System.currentTimeMillis();
      _hpStage = 2;
    }
    else if ((chp < 50) && (_hpStage == 2))
    {
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.altOnMagicUseTimer()

      defenceDownTimer = System.currentTimeMillis();
      _hpStage = 2;
    }
    else if ((chp < 50) && (_hpStage == 2))
    {
      actor.altOnMagicUseTimer(actor, getSkill(4691, 3));
      _hpStage = 3;
    }
    else if ((chp < 30) && (_hpStage == 3))
    {
      actor.altOnMagicUseTimer(actor, getSkill(4691, 4));
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.altOnMagicUseTimer()

      actor.altOnMagicUseTimer(actor, getSkill(4691, 3));
      _hpStage = 3;
    }
    else if ((chp < 30) && (_hpStage == 3))
    {
      actor.altOnMagicUseTimer(actor, getSkill(4691, 4));
      _hpStage = 4;
    }
    else if ((chp < 10) && (_hpStage == 4))
    {
      actor.altOnMagicUseTimer(actor, getSkill(4691, 5));
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.altOnMagicUseTimer()

      actor.altOnMagicUseTimer(actor, getSkill(4691, 4));
      _hpStage = 4;
    }
    else if ((chp < 10) && (_hpStage == 4))
    {
      actor.altOnMagicUseTimer(actor, getSkill(4691, 5));
      _hpStage = 5;
    }
    if ((getAliveMinionsCount() < 100) && Rnd.chance(5))
    {
      final NpcInstance minion = Functions.spawn(Location.findPointToStay(actor.getLoc(), 400, 700, actor.getGeoIndex()), 29029);
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.altOnMagicUseTimer()

    final NpcInstance actor = getActor();
    if (actor.isInZone(Zone.ZoneType.poison))
    {
      if ((actor.getEffectList() != null) && (actor.getEffectList().getEffectsBySkill(s_lava_skin) == null))
      {
        actor.altOnMagicUseTimer(actor, s_lava_skin);
      }
    }
    super.thinkAttack();
  }
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.