public void Use()
        {
            if (!UsedOnce)
            {
                TheGame.CurrentArea.AddCreature(new Creature()
                {
                    Name        = "Giant Dragonfly",
                    Description = "Holy shit how did that thing fit in that box! It's like 10 feet long!",
                    Stats       = new StatChart()
                    {
                        Atk    = new Dice(Dice.Type.D10, 2, 5),
                        Def    = new Dice(Dice.Type.D8, modifier: 2),
                        HPs    = 36,
                        Exp    = 1000,
                        Level  = 10,
                        MaxHPs = 36
                    }
                },
                                                "giant_dragonfly"
                                                );

                UsedOnce = true;

                TextFormatter.PrintLineSpecial("A Giant Dragonfly crawls out of the box.{0}You notice in the back of your mind that the box seems way too small to have contained this thing.... (press Enter to coninue)");
                Console.ReadLine();

                TheGame.SurpriseFight("giant_dragonfly");
            }
        }
Exemple #2
0
 public Boulder()
 {
     Interactions = new Dictionary <string, Action <string[]> >()
     {
         {
             "touch", (parts) =>
             {
                 TheGame.CurrentArea.AddCreature(
                     new Creature()
                 {
                     Name        = "Giant Moth",
                     Description = "Really really big Moth",
                     Stats       = new StatChart()
                     {
                         Atk    = new Dice(Dice.Type.D4, 2, 2),
                         Def    = new Dice(Dice.Type.D4),
                         Exp    = 30,
                         MaxHPs = 10,
                         HPs    = 10,
                         Level  = 2
                     }
                 }, "moth");
                 TheGame.SurpriseFight("moth");
             }
         }
     };
 }