Example #1
0
        private static SavedTargets GetCurrentTargets()
        {
            SavedTargets currentTargets = new SavedTargets();

            currentTargets.TargetedCreatures = GetTargets().Select(x => x.taleSpireId).ToList();
            return(currentTargets);
        }
Example #2
0
 private static void LoadTargets(SavedTargets targets)
 {
     TaleSpireClient.CleanUpTargets();
     TaleSpireClient.RemoveTargetingUI();
     TargetCreaturesByTaleSpireId(targets);
     CreatureManager.UpdateInGameStats();
     foreach (string taleSpireId in targets.TargetedCreatures)
     {
         TaleSpireClient.SetTargeted(taleSpireId, true);
     }
 }
Example #3
0
 static void TargetCreaturesByTaleSpireId(SavedTargets savedTargets)
 {
     TargetCreaturesByTaleSpireId(savedTargets.TargetedCreatures);
 }