Files
Continentis/Assets/Mods/Basic/Cards/Scripts/Mage/IdentifyWeakness.cs

22 lines
737 B
C#
Raw Normal View History

2025-10-31 10:02:30 -04:00
using System.Collections.Generic;
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Commands;
using Continentis.Mods.Basic.Buffs;
using SLSFramework.General;
namespace Continentis.Mods.Basic.Cards
{
public class IdentifyWeakness : CardLogicBase
{
2026-03-20 11:56:50 -04:00
public override CommandGroup PlayEffect(List<CharacterBase> targetList)
2025-10-31 10:02:30 -04:00
{
2026-03-20 11:56:50 -04:00
return ForEachTarget(targetList, target => Cmd.Parallel(
2025-12-13 23:28:23 -05:00
new Cmd_PlayAnimation(user.characterView, "Action"),
2026-03-20 11:56:50 -04:00
Cmd.After(0.1f, () =>
CreateCharacterBuff<Vulnerable>(GetAttribute("BuffCount_Vulnerable")).Apply(target, user, this)
)
));
2025-10-31 10:02:30 -04:00
}
}
}