Package l2p.gameserver.model

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


    L2Player player = (L2Player) getSelf();
    if(player == null)
    {
      return;
    }
    player.block();
    player.setFlying(true); // хак позволяющий сделать логаут
    show(Files.read("data/scripts/services/activation.htm", player), player);
  }

  public void activation(String[] args)
View Full Code Here


   
    if (!check(player, item))
      return;
   
    player.stopMove();
    player.block();
    player.broadcastPacket(new MagicSkillUse(player, player, _skillId, 1, 5000, 600000));
    player.sendPacket(Msg.SUMMON_A_PET);
    // continue execution in 5 seconds
    ThreadPoolManager.getInstance().scheduleAi(new SummonFinalizer(player, item), 5000, true);
  }
View Full Code Here

    r.way.addAll(W.path);
    _riders.put(player.getObjectId(), r);
    player.setHeading(r.way.get(1), true);
    player.validateLocation(1);
    player.setMount(PetDataTable.WYVERN_ID, 0, 0);
    player.block();
    player.setIsInvul(true);
    player.addStatFunc(new FuncSet(Stats.RUN_SPEED, 0x90, W, 500));
    player.getAI().getListenerEngine().addMethodInvokedListener(_notifyEventListener);
    flyNext(r);
    player.broadcastUserInfo(true);
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.