private Encounter getEventEncounter()
        {
            List<Enemy> enemies = new List<Enemy>();
            enemies.Add(getEnemy("Goblin"));
            enemies.Add(getEnemy("Goblin"));
            Encounter encounter = new Encounter(isEvent:true)
            {
                enemies = enemies,
                message = "A duo of goblins has appeared!"
            };

            return encounter;
        }
 public Encounter getRandomEncounter(int selection)
 {
     Encounter encounter = new Encounter();
     encounter.enemies = new List<MapDataClasses.Enemy>();
     encounter.enemies.Add(getEnemy("Blue Slime"));
     encounter.message = "A lone Blue Slime appears!";
     return encounter;
 }
 public Encounter getRandomEncounterF2(int selection)
 {
     Encounter encounter = new Encounter();
     encounter.enemies = new List<MapDataClasses.Enemy>();
     switch(selection)
     {
         case 1:
             encounter.message = "A horde of goblins has appeared!";
             encounter.enemies.Add(getEnemy("Goblin"));
             encounter.enemies.Add(getEnemy("Goblin"));
             encounter.enemies.Add(getEnemy("Goblin"));
             break;
         case 2:
             encounter.message = "A horde of goblins has appeared!";
             encounter.enemies.Add(getEnemy("Goblin"));
             encounter.enemies.Add(getEnemy("Goblin"));
             encounter.enemies.Add(getEnemy("Goblin"));
             encounter.enemies.Add(getEnemy("Goblin"));
             break;
         case 3:
             encounter.message = "A goblin in a suit and his assistant appear!";
             encounter.enemies.Add(getEnemy("Goblin"));
             encounter.enemies.Add(getEnemy("Boss Goblin"));
             break;
     }
     return encounter;
 }
Esempio n. 4
0
        public static EventDataModel getCombatEvent(Encounter encounter, ObjectiveType objective = ObjectiveType.None)
        {
            EventDataModel edm = new EventDataModel();
            edm.encounter = encounter;
            edm.hasMessage = false;
            edm.message = string.Empty;
            edm.type = EventDataType.Combat;
            edm.nextEvent = null;
            edm.objective = objective;

            return edm;
        }