Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2DecoyInstance$HateSpam


        if(activeChar.getPet() != null || activeChar.isMounted())
        {
          return;
        }
        L2NpcTemplate DecoyTemplate = NpcTable.getTemplate(getNpcId());
        L2DecoyInstance decoy = new L2DecoyInstance(IdFactory.getInstance().getNextId(), DecoyTemplate, activeChar, _lifeTime);
        decoy.setCurrentHp(decoy.getMaxHp(), false);
        decoy.setCurrentMp(decoy.getMaxMp());
        decoy.setHeading(activeChar.getHeading());
        decoy.setReflection(activeChar.getReflection());
        activeChar.setDecoy(decoy);
        decoy.spawnMe(activeChar.getLoc());
        break;
      case MERCHANT:
        if(activeChar.getPet() != null || activeChar.isMounted())
        {
          return;
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.instances.L2DecoyInstance$HateSpam

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.