PrayerOfHealing

This commit is contained in:
FrazeRIP
2025-11-12 00:01:35 -06:00
parent 9b45f372c3
commit 375f8eaf08
11 changed files with 64 additions and 21 deletions

View File

@@ -15,7 +15,7 @@ namespace Continentis.Mods.Basic.Cards.Cleric
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_ParamFunction<CharacterBase>(0.1f, target =>
{
target.Heal(GetAttribute("HealAmount"));
target.Heal(GetAttribute("Heal"));
target.combatBuffSubmodule.Dispel(BuffDispelLevel.Basic, user);
}));

View File

@@ -2,6 +2,7 @@
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Commands;
using SLSFramework.General;
using System.Collections.Generic;
@@ -11,7 +12,14 @@ namespace Continentis.Mods.Basic.Cards.Cleric
{
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
return base.PlayEffect(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 };
}
}
}