BlessedHolyWater

This commit is contained in:
FrazeRIP
2025-11-12 00:06:18 -06:00
parent 375f8eaf08
commit e40a57900f
3 changed files with 13 additions and 3 deletions

View File

@@ -55,5 +55,5 @@ MonoBehaviour:
customDescriptions: []
prefabRefs: []
derivativeCardDataRefs:
- CardData_Basic_BlessedHolyWater
- CardData_Basic_CommomHolyWater
derivativeCharacterDataRefs: []

View File

@@ -11,7 +11,17 @@ namespace Continentis.Mods.Basic.Cards.Cleric
{
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
return base.PlayEffect(targetList);
base.PlayEffect(targetList);
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential);
mainGroup.AddCommand(new Cmd_PlayAnimation(user.characterView, "Skill"));
mainGroup.AddCommand(new Cmd_Function(() =>
{
CardData cardData = GetDerivativeCardData(0);
CardInstance.GenerateCardInstance(cardData, user.team, "Hand");
}));
return new List<CommandBase> { mainGroup };
}
}
}