예제 #1
0
    public override IEnumerator ResolveRoutine(Intent intent, List <PrefixSpell> prefixes)
    {
        List <Prefix> effects = new List <Prefix>();

        foreach (PrefixSpell prefix in prefixes)
        {
            effects.Add(prefix.effect);
        }
        yield return(warhead.ResolveRoutine((IntentSpell)intent, effects));
    }