24 lines
776 B
C#
24 lines
776 B
C#
using System.Collections.Generic;
|
|
using Continentis.MainGame;
|
|
using Continentis.MainGame.Card;
|
|
using Continentis.MainGame.Character;
|
|
using Continentis.MainGame.Commands;
|
|
using SLSUtilities.General;
|
|
|
|
namespace Continentis.Mods.Basic.Cards.Cleric
|
|
{
|
|
public class LessRestoration : CardLogicBase
|
|
{
|
|
public override CommandGroup PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
return ForEachTarget(targetList, target => Cmd.Parallel(
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
Cmd.After(0.1f, () =>
|
|
{
|
|
target.Heal(GetAttribute("Heal"));
|
|
target.combatBuffSubmodule.Dispel(BuffDispelLevel.Basic, user);
|
|
})
|
|
));
|
|
}
|
|
}
|
|
} |