26 lines
756 B
C#
26 lines
756 B
C#
|
|
|
|
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 PrayerOfHealing : CardLogicBase
|
|
{
|
|
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
new Cmd_ParamFunction<CharacterBase>(0.01f, target =>
|
|
{
|
|
target.Heal(GetAttribute("Heal"));
|
|
}));
|
|
|
|
return new List<CommandBase> { mainGroup };
|
|
}
|
|
}
|
|
}
|