Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2SiegeFlagInstance


    }
   
    try
    {
      // Spawn a new flag
      L2SiegeFlagInstance flag = new L2SiegeFlagInstance(player, IdFactory.getInstance().getNextId(), NpcTable.getInstance().getTemplate(35062));
     
      if (skill.is_advancedFlag())
      {
        flag.set_advanceFlag(true);
        flag.set_advanceMultiplier(skill.get_advancedMultiplier());
      }
     
      flag.setTitle(player.getClan().getName());
      flag.setCurrentHpMp(flag.getMaxHp(), flag.getMaxMp());
      flag.setHeading(player.getHeading());
      flag.spawnMe(player.getX(), player.getY(), player.getZ() + 50);
     
      if (castle != null)
        castle.getSiege().getFlag(player.getClan()).add(flag);
      else
        fort.getSiege().getFlag(player.getClan()).add(flag);
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.actor.instance.L2SiegeFlagInstance

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.