Files
Continentis/Assets/Mods/Basic/Cards/Scripts/Cleric/LessRestoration.cs

24 lines
776 B
C#
Raw Normal View History

2026-03-20 11:56:50 -04:00
using System.Collections.Generic;
2025-11-01 06:13:58 -04:00
using Continentis.MainGame;
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Commands;
2026-04-17 12:01:50 -04:00
using SLSUtilities.General;
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
{
2026-03-20 11:56:50 -04:00
public override CommandGroup PlayEffect(List<CharacterBase> targetList)
2025-11-01 06:13:58 -04:00
{
2026-03-20 11:56:50 -04:00
return ForEachTarget(targetList, target => Cmd.Parallel(
2025-11-01 06:13:58 -04:00
new Cmd_PlayAnimation(user.characterView, "Skill"),
2026-03-20 11:56:50 -04:00
Cmd.After(0.1f, () =>
2025-11-01 06:13:58 -04:00
{
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);
2026-03-20 11:56:50 -04:00
})
));
2025-11-01 06:13:58 -04:00
}
}
}