Package games.stendhal.server.entity.npc.action

Examples of games.stendhal.server.entity.npc.action.IncreaseKarmaAction


      new MultipleActions(
          new SetQuestAction(QUEST_SLOT,"candles_done"),
          new DropItemAction("beeswax", 6),
          new DropItemAction("iron", 2),
          new IncreaseXPAction(4000),
          new IncreaseKarmaAction(10)));

    // player returned after climbing the tower partially. reset status to candles done and start again
    npc.add(ConversationStates.IDLE, ConversationPhrases.GREETING_MESSAGES,
        new AndCondition(new GreetingMatchesNameCondition(npc.getName()),
            new OrCondition(
View Full Code Here


          new QuestInStateCondition(QUEST_SLOT,"last_step")),
      ConversationStates.ATTENDING,
      "Very well, adventurer! You have passed the practical test. You can now enter the spire whenever you want.",
      new MultipleActions(
        new IncreaseXPAction(5000),
        new IncreaseKarmaAction(10),
        new SetQuestAction(QUEST_SLOT, "done")));
  }
View Full Code Here

                }
                player.notifyWorldAboutChanges();
            }
        });
        reward.add(new SetQuestAction(QUEST_SLOT, "done"));
        reward.add(new IncreaseKarmaAction( 10 ));

        final SpeakerNPC npc = npcs.get("Nishiya");
        // Asks player if he handed over the sheep
        npc.add(
                ConversationStates.IDLE,
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.action.IncreaseKarmaAction

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.