Package games.stendhal.server.entity.npc.condition

Examples of games.stendhal.server.entity.npc.condition.PlayerHasKilledNumberOfCreaturesCondition


  @Override
  public Collection<Achievement> createAchievements() {
    List<Achievement> fightingAchievements = new LinkedList<Achievement>();
    fightingAchievements.add(createAchievement("fight.general.rats", "Rat Hunter", "Kill 15 rats", Achievement.EASY_BASE_SCORE, true,
                          new PlayerHasKilledNumberOfCreaturesCondition("rat", 15)));
    fightingAchievements.add(createAchievement("fight.general.exterminator", "Exterminator", "Kill 10 rats of each kind", Achievement.MEDIUM_BASE_SCORE, true,
                          new PlayerHasKilledNumberOfCreaturesCondition(10, "rat", "caverat", "razorrat", "venomrat", "zombie rat", "giantrat", "ratman", "ratwoman", "archrat")));
    fightingAchievements.add(createAchievement("fight.general.deer", "Deer Hunter", "Kill 25 deer", Achievement.EASY_BASE_SCORE, true,
                          new PlayerHasKilledNumberOfCreaturesCondition("deer", 25)));
    fightingAchievements.add(createAchievement("fight.general.boars", "Boar Hunter", "Kill 20 boar", Achievement.EASY_BASE_SCORE, true,
                          new PlayerHasKilledNumberOfCreaturesCondition("boar", 20)));
    fightingAchievements.add(createAchievement("fight.general.bears", "Bear Hunter", "Kill 10 black bears, 10 bears and 10 babybears", Achievement.EASY_BASE_SCORE, true,
                          new PlayerHasKilledNumberOfCreaturesCondition(10, "bear", "black bear", "babybear")));
    fightingAchievements.add(createAchievement("fight.general.foxes", "Fox Hunter", "Kill 20 foxes", Achievement.EASY_BASE_SCORE, true,
                          new PlayerHasKilledNumberOfCreaturesCondition("fox", 20)));
    fightingAchievements.add(createAchievement("fight.general.safari", "Safari", "Kill 30 tigers, 30 lions and 50 elephants", Achievement.EASY_BASE_SCORE, true,
                          new AndCondition(
                              new PlayerHasKilledNumberOfCreaturesCondition("tiger", 30),
                              new PlayerHasKilledNumberOfCreaturesCondition("lion", 30),
                              new PlayerHasKilledNumberOfCreaturesCondition("elephant", 50)
                              )));
    fightingAchievements.add(createAchievement("fight.general.ents", "Wood Cutter", "Kill 10 ents, 10 entwifes and 10 old ents", Achievement.MEDIUM_BASE_SCORE, true,
                          new PlayerHasKilledNumberOfCreaturesCondition(10, "ent", "entwife", "old ent")));
    fightingAchievements.add(createAchievement("fight.special.rare", "Poacher", "Kill any rare creature", Achievement.HARD_BASE_SCORE, true,
        new KilledRareCreatureCondition()));

    fightingAchievements.add(createAchievement("fight.special.all", "Legend", "Kill all creatures solo", Achievement.HARD_BASE_SCORE, true,
        new KilledSoloAllCreaturesCondition()));
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.condition.PlayerHasKilledNumberOfCreaturesCondition

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.