Package games.stendhal.server.entity.creature

Examples of games.stendhal.server.entity.creature.DeathMatchCreature.clearDropItemList()


  DeathMatchCreature spawnNewCreature(final Creature template, final Player player, final DeathmatchInfo deathmatchInfo) {
    DeathMatchCreature creature = new DeathMatchCreature(
            new ArenaCreature(template.getNewInstance(), deathmatchInfo.getArena().getShape()));

    if (StendhalRPAction.placeat(deathmatchInfo.getZone(), creature, player.getX(), player.getY(), deathmatchInfo.getArena().getShape())) {
      creature.clearDropItemList();
      creature.setTarget(player);
      creature.setPlayerToReward(player);

      spawnedCreatures.add(creature);
    } else {
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.