更新
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using Continentis.MainGame.Card;
|
||||
using Continentis.MainGame.Character;
|
||||
using Continentis.MainGame.Commands;
|
||||
using SLSFramework.General;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Continentis.Mods.Basic.Cards
|
||||
{
|
||||
public class BasicHealing : CardLogicBase
|
||||
{
|
||||
public override CommandGroup PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
return ForEachTarget(targetList, target => Cmd.Parallel(
|
||||
new Cmd_PlayAnimation(user.characterView, "Action"),
|
||||
Cmd.Do(() =>
|
||||
{
|
||||
target.Heal(GetAttribute("HealAmount"));
|
||||
})));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user