Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2FestivalMonsterInstance


        npcSpawn.setLoc(currSpawn.loc);
        npcSpawn.setHeading(Rnd.get(65536));
        npcSpawn.setAmount(1);
        npcSpawn.setRespawnDelay(respawnDelay);
        npcSpawn.startRespawn();
        L2FestivalMonsterInstance festivalMob = (L2FestivalMonsterInstance) npcSpawn.doSpawn(true);
        // Set the offering bonus to 2x or 5x the amount per kill, if this spawn is part of an increased challenge or is a festival chest.
        if(spawnType == 1)
        {
          festivalMob.setOfferingBonus(2);
        }
        else if(spawnType == 3)
        {
          festivalMob.setOfferingBonus(5);
        }
        addSpawn(npcSpawn);
      }
      catch(Exception e)
      {
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.instances.L2FestivalMonsterInstance

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.