Exemplo n.º 1
0
 /// <summary>
 /// Orders the creation of delayed status effects as a result of a delayed spell.
 /// </summary>
 /// <param name="actor">The character applying the delayed status effects.</param>
 /// <param name="action">The action applying the delayed status effects.</param>
 /// <param name="targets">The target positions of the delayed status effects.</param>
 private void CreateDelayedStatus(Character actor, ActionBase action, IReadOnlyList <int> targets)
 {
     foreach (var status in action.BuffsToApply)
     {
         _statusEffectController.CreateDelayedStatus(actor, status, targets, action.Delay);
     }
 }