Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.Skill$AddedSkill


  {
    super.onEvtTimer(timer_id, arg1, arg2);
    switch (timer_id)
    {
      case 1:
        final Skill sk = SkillTable.getInstance().getInfo(SKILL_ID, 1);
        addTaskBuff(getActor(), sk);
        doTask();
        break;
      case 2:
        final Reflection r = getActor().getReflection();
View Full Code Here


  @Override
  protected void onEvtTimer(int timerId, Object arg1, Object arg2)
  {
    if (timerId == 1)
    {
      final Skill skill = SkillTable.getInstance().getInfo(SKILL_ID, 1);
      addTaskBuff(getActor(), skill);
      doTask();
    }
  }
View Full Code Here

    }
    if (_unselect == 0)
    {
      if (activeChar.isCastingNow())
      {
        Skill skill = activeChar.getCastingSkill();
        activeChar.abortCast((skill != null) && (skill.isHandler() || (skill.getHitTime() > 1000)), false);
      }
      else if (activeChar.getTarget() != null)
      {
        activeChar.setTarget(null);
      }
View Full Code Here

        int skillId = rset.getInt("skill_id");
        int skillLvl = rset.getInt("skill_level");
        int effectCount = rset.getInt("effect_count");
        long effectCurTime = rset.getLong("effect_cur_time");
        long duration = rset.getLong("duration");
        Skill skill = SkillTable.getInstance().getInfo(skillId, skillLvl);
        if (skill == null)
        {
          continue;
        }
        for (EffectTemplate et : skill.getEffectTemplates())
        {
          if (et == null)
          {
            continue;
          }
View Full Code Here

    Location loc = leader.getLoc();

    replaceTo.setLoc(loc);

    Skill skill = SkillTable.getInstance().getInfo(SKILL_INVUL_ID, 1);

    for (Player pp : p.getPartyMembers())
    {
      for (EffectTemplate et : skill.getEffectTemplates())
      {
        Env env = new Env(pp, pp, skill);
        Effect effect = et.getEffect(env);
        effect.setPeriod(10000);
        pp.getEffectList().addEffect(effect);
View Full Code Here

    int newClassId = _CA.get(player.getClassId().getId());
    Collection<SkillLearn> skills = SkillAcquireHolder.getInstance().getAvailableAllSkillsForDellet(player, newClassId);
    StringBuilder tmp = new StringBuilder();
    for (SkillLearn s : skills)
    {
      Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
      if (sk.isRelationSkill())
      {
        final int[] _ss = sk.getRelationSkills();
        if (_ss != null)
        {
          for (int _k : _ss)
          {
            SkillTable.getInstance().getInfo(_k, SkillTable.getInstance().getBaseLevel(_k));
View Full Code Here

      }
    }
    for(int skillId : skillsToMantain)
    {
      int skillLv = SkillTable.getInstance().getBaseLevel(skillId);
      Skill newSkill = SkillTable.getInstance().getInfo(skillId, skillLv);
      player.addSkill(newSkill,true);
    }
    for(int alterSkill : _AlterSkills.get(newClassId))
    {
      int skillLv = SkillTable.getInstance().getBaseLevel(alterSkill);
      Skill newSkillAlter = SkillTable.getInstance().getInfo(alterSkill, skillLv);     
      player.addSkill(newSkillAlter,true);
    }
    player.sendSkillList();
  }
View Full Code Here

      }
    }
    for(int skillId : skillsToMantain)
    {
      int skillLv = SkillTable.getInstance().getBaseLevel(skillId);
      Skill newSkill = SkillTable.getInstance().getInfo(skillId, skillLv);
      player.addSkill(newSkill,true);
    }
    for(int alterSkill : _AlterSkills.get(toFinalClass))
    {
      int skillLv = SkillTable.getInstance().getBaseLevel(alterSkill);
      Skill newSkillAlter = SkillTable.getInstance().getInfo(alterSkill, skillLv);     
      player.addSkill(newSkillAlter,true);
    }   
    player.sendSkillList();
  }
View Full Code Here

    }
    player.removeSkills(SkillsToRemove, delete);
    for(int alterSkill : _AlterSkills.get(classId))
    {
      int skillLv = SkillTable.getInstance().getBaseLevel(alterSkill);
      Skill newSkillAlter = SkillTable.getInstance().getInfo(alterSkill, skillLv);     
      player.addSkill(newSkillAlter,true);
    }
    player.sendSkillList();
  }
View Full Code Here

  private void startSkillAttackTask()
  {
    NpcInstance npc = getActor();

    Skill skill = SkillTable.getInstance().getInfo(14285, 1); //TODO[K] - Skills lighting Octavis
    for(Creature creature : npc.getAroundCharacters(10000, 100))
      if(Rnd.chance(30))
        npc.altOnMagicUseTimer(creature, skill);

    doTask();
View Full Code Here

TOP

Related Classes of lineage2.gameserver.model.Skill$AddedSkill

Copyright © 2018 www.massapicom. 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.