PrayerOfHealing
This commit is contained in:
@@ -45,7 +45,7 @@ MonoBehaviour:
|
||||
Value: 3
|
||||
index: 3
|
||||
isKeyDuplicated: 0
|
||||
- Key: HealAmount
|
||||
- Key: Heal
|
||||
Value: 6
|
||||
index: 4
|
||||
isKeyDuplicated: 0
|
||||
|
||||
@@ -45,7 +45,7 @@ MonoBehaviour:
|
||||
Value: 3
|
||||
index: 3
|
||||
isKeyDuplicated: 0
|
||||
- Key: HealAmount
|
||||
- Key: Heal
|
||||
Value: 4
|
||||
index: 4
|
||||
isKeyDuplicated: 0
|
||||
|
||||
@@ -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);
|
||||
}));
|
||||
|
||||
|
||||
@@ -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 };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user