This commit is contained in:
SoulliesOfficial
2025-10-26 00:23:50 -04:00
parent bb9aea5f43
commit c3c4a17440
12 changed files with 48 additions and 28 deletions

View File

@@ -17,15 +17,14 @@ namespace Continentis.Mods.Basic.Cards
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
CommandGroup mainGroup = TargetListCommandGroup(targetList, ExecutionMode.Sequential, ExecutionMode.Parallel,
CommandGroup mainGroup = TargetListCommandGroup(targetList,
ExecutionMode.Sequential,
ExecutionMode.Sequential,
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_ParamFunction<CharacterBase>(0.1f, target =>
{
user.Attack(target, GetFinalDamage(target));
Weak buff = new Weak(GetAttribute("WeaknessLayer"));
buff.Apply(target, user, this);
CreateCharacterBuff<Weak>().Apply(target, user, this);
}));
return mainGroup;