26 lines
786 B
C#
26 lines
786 B
C#
|
|
|
|
using Continentis.MainGame;
|
|
using Continentis.MainGame.Card;
|
|
using Continentis.MainGame.Character;
|
|
using Continentis.MainGame.Commands;
|
|
using SLSFramework.General;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Continentis.Mods.Basic.Cards.Cleric
|
|
{
|
|
public class Sanctuary : CardLogicBase
|
|
{
|
|
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
new Cmd_ParamFunction<CharacterBase>((target) =>
|
|
target.combatBuffSubmodule.Dispel(BuffDispelLevel.Basic, user)
|
|
));
|
|
|
|
return new List<CommandBase> { mainGroup };
|
|
}
|
|
}
|
|
}
|