예제 #1
0
        protected virtual IEnumerator RunEncounter(Creature creature)
        {
            Roster.AddCreature(creature);

            if (Instructions != null && Instructions.Instruction != null)
            {
                yield return(Instructions.Execute(WorldManager.Instance.Context, this));
            }

            Roster.DestroyCreatures();
        }
예제 #2
0
 public virtual IEnumerator UseInBattle(InstructionStore variables)
 {
     yield return(UseInBattleInstruction.Execute(variables.Context, variables.This));
 }