25 lines
828 B
C#
25 lines
828 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
|
|
{
|
|
public class LessRestoration : CardLogicBase
|
|
{
|
|
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
new Cmd_ParamFunction<CharacterBase>(0.1f, target =>
|
|
{
|
|
target.Heal(GetAttribute("HealAmount"));
|
|
target.combatBuffSubmodule.Dispel(BuffDispelLevel.Basic, user);
|
|
}));
|
|
|
|
return mainGroup;
|
|
}
|
|
}
|
|
} |