24 lines
786 B
C#
24 lines
786 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 FlameInscription : CardLogicBase
|
|
{
|
|
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
new Cmd_Function(() =>
|
|
{
|
|
CreateCharacterBuff<Buffs.FlameInscription>(GetAttribute("BuffStack_FlameInscription")).Apply(user, user, this);
|
|
}));
|
|
|
|
return mainGroup;
|
|
}
|
|
}
|
|
} |