Exemple #1
0
 /// <summary>
 /// 当单位进入光环时,触发的方法
 /// </summary>
 /// <param name="speller"></param>
 /// <param name="target"></param>
 public override void Execute(CharacterMono speller, CharacterMono target)
 {
     if (CanBeExecuteToTarget(speller, target))
     {
         // 给目标附加一个持续时间为永久的中毒状态
         target.AddBattleState(additiveState.DeepCopy());
     }
 }
Exemple #2
0
    public override void Execute(CharacterMono speller, CharacterMono target)
    {
        base.Execute(speller, target);

        target.AddBattleState(additionalState.DeepCopy());
    }