24 lines
766 B
C#
24 lines
766 B
C#
using System.Collections.Generic;
|
|
using Continentis.MainGame.Card;
|
|
using Continentis.MainGame.Character;
|
|
using Continentis.MainGame.Commands;
|
|
using Continentis.Mods.Basic.Buffs;
|
|
using SLSUtilities.General;
|
|
using UnityEngine;
|
|
|
|
namespace Continentis.Mods.Basic.Cards
|
|
{
|
|
public class IronWall : CardLogicBase
|
|
{
|
|
public override CommandGroup PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
Cmd.Do(() => {
|
|
CreateCharacterBuff<Withstand>(GetAttribute("BuffCount_Withstand")).Apply(user, user, this);
|
|
}));
|
|
|
|
return mainGroup;
|
|
}
|
|
}
|
|
} |