Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.Zone.removeListener()


      Player player = actor.getPlayer();
      if (player == null)
      {
        return;
      }
      player.removeListener(this);
      _quest.notifyDeath(killer, actor, QuestState.this);
    }
  }
 
  /**
 
View Full Code Here


    public void onCurrentHpDamage(Creature actor, double damage, Creature attacker, Skill skill)
    {
      Player player = actor.getPlayer();
      if (player.getCurrentHpPercents() < 25)
      {
        player.removeListener(_tutorialShowListener);
        Quest q = QuestManager.getQuest(255);
        if (q != null)
        {
          player.processQuestEvent(q.getName(), "CE45", null);
        }
View Full Code Here

          player.processQuestEvent(q.getName(), "CE45", null);
        }
      }
      else if (player.getLevel() > 5)
      {
        player.removeListener(_tutorialShowListener);
      }
    }
  }
 
  public boolean isVisible()
View Full Code Here

  public void onReload()
  {
    for (String element : ZONES)
    {
      Zone zone = ReflectionUtils.getZone(element);
      zone.removeListener(_zoneListener);
    }
    if (_buffTask != null)
    {
      _buffTask.cancel(false);
      _buffTask = null;
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.