Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Player.addDamageHate()


    else if(event.equalsIgnoreCase("32595-04.htm"))
    {
      monster = st.addSpawn(SHILENSEVIL, 152520, -57685, -3438, 60000);
      Functions.npcSay(monster, "You are not the owner of that item!");
      monster.setRunning();
      player.addDamageHate(monster, 0, 999);
      monster.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
    }
    else if(event.equalsIgnoreCase("32595-08.htm"))
    {
      st.playSound(SOUND_MIDDLE);
View Full Code Here


          HateInfo hateInfo = playable.getHateList().get(npc);
          if(hateInfo == null || hateInfo.hate <= 0)
          {
            continue;
          }
          player_target.addDamageHate(npc, 0, hateInfo.hate + 100);
          hateInfo.hate = 0;
        }
      }
    }
    if(isSSPossible())
View Full Code Here

    else if(event.equalsIgnoreCase("32597-05.htm"))
    {
      monster1 = Quest.addSpawnToInstance(SHILENSEVIL1, new Location(-23768, -8968, -5412), 0, player.getReflection().getId());
      Functions.npcSay(monster1, "You are not the owner of that item!");
      monster1.setRunning();
      player.addDamageHate(monster1, 0, 999);
      monster1.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
      int SHILENSEVIL2 = 27343;
      monster2 = Quest.addSpawnToInstance(SHILENSEVIL2, new Location(-23768, -9080, -5413), 0, player.getReflection().getId());
      monster2.setRunning();
      player.addDamageHate(monster2, 0, 999);
View Full Code Here

      player.addDamageHate(monster1, 0, 999);
      monster1.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
      int SHILENSEVIL2 = 27343;
      monster2 = Quest.addSpawnToInstance(SHILENSEVIL2, new Location(-23768, -9080, -5413), 0, player.getReflection().getId());
      monster2.setRunning();
      player.addDamageHate(monster2, 0, 999);
      monster2.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
      monster3 = Quest.addSpawnToInstance(SHILENSEVIL2, new Location(-23768, -8824, -5413), 0, player.getReflection().getId());
      monster3.setRunning();
      player.addDamageHate(monster3, 0, 999);
      monster3.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
View Full Code Here

      monster2.setRunning();
      player.addDamageHate(monster2, 0, 999);
      monster2.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
      monster3 = Quest.addSpawnToInstance(SHILENSEVIL2, new Location(-23768, -8824, -5413), 0, player.getReflection().getId());
      monster3.setRunning();
      player.addDamageHate(monster3, 0, 999);
      monster3.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
    }
    else if(event.equalsIgnoreCase("exit"))
    {
      r.startCollapseTimer(1000);
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.