2025-11-01 06:13:58 -04:00
|
|
|
using Continentis.MainGame;
|
|
|
|
|
using Continentis.MainGame.Card;
|
|
|
|
|
using Continentis.MainGame.Character;
|
|
|
|
|
using Continentis.MainGame.Commands;
|
|
|
|
|
using SLSFramework.General;
|
2025-11-04 00:11:29 -06:00
|
|
|
using System.Collections.Generic;
|
2025-11-01 06:13:58 -04:00
|
|
|
|
2025-11-10 12:57:04 -05:00
|
|
|
namespace Continentis.Mods.Basic.Cards.Cleric
|
2025-11-01 06:13:58 -04:00
|
|
|
{
|
|
|
|
|
public class LessRestoration : CardLogicBase
|
|
|
|
|
{
|
2025-11-15 12:17:34 -05:00
|
|
|
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
2025-11-01 06:13:58 -04:00
|
|
|
{
|
|
|
|
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
|
|
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
|
|
|
new Cmd_ParamFunction<CharacterBase>(0.1f, target =>
|
|
|
|
|
{
|
2025-11-12 00:01:35 -06:00
|
|
|
target.Heal(GetAttribute("Heal"));
|
2025-11-01 06:13:58 -04:00
|
|
|
target.combatBuffSubmodule.Dispel(BuffDispelLevel.Basic, user);
|
|
|
|
|
}));
|
|
|
|
|
|
2025-11-08 09:50:55 -05:00
|
|
|
return new List<CommandBase> { mainGroup };
|
2025-11-01 06:13:58 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|