21 lines
638 B
C#
21 lines
638 B
C#
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 Whimsy : CardLogicBase
|
|
{
|
|
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
new Cmd_Function(() => user.ModifyMana(1)));
|
|
|
|
return mainGroup;
|
|
}
|
|
}
|
|
} |