This commit is contained in:
SoulliesOfficial
2025-12-13 23:28:23 -05:00
parent 40660b41e0
commit 467e385991
49 changed files with 238 additions and 161 deletions

View File

@@ -21,7 +21,6 @@ namespace Continentis.Mods.Basic.Cards.Assassin
mainGroup.AddCommand(new Cmd_Function(() =>
{
CardData cardData = GetDerivativeCardData(0);
Debug.LogError(cardData.displayName);
CardInstance.GenerateCardInstance(cardData, user.team, "Hand");
}));

View File

@@ -10,6 +10,11 @@ namespace Continentis.Mods.Basic.Cards.Assassin
{
private int _sharpnessCount = 0;
public override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
}
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = TargetListCommandGroup( targetList,
@@ -32,5 +37,10 @@ namespace Continentis.Mods.Basic.Cards.Assassin
return new List<CommandBase> { mainGroup };
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Default();
}
}
}

View File

@@ -33,7 +33,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Arcane();
LogicComponent<CardLogicComponent_Attack>().SetDamage_Default();
}
}
}

View File

@@ -8,6 +8,11 @@ namespace Continentis.Mods.Basic.Cards.Assassin
{
public class ExtremePain : CardLogicBase
{
public override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
}
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = TargetListCommandGroup(targetList,
@@ -32,5 +37,10 @@ namespace Continentis.Mods.Basic.Cards.Assassin
}
return baseDamage + extraDamage;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Default();
}
}
}

View File

@@ -15,10 +15,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_ParamFunction<CharacterBase>(0.01f, target =>
{
if (target != user)
{
CreateCharacterBuff<Corrosion>(GetAttribute("BuffStack")).Apply(target, user, this);
}
CreateCharacterBuff<Corrosion>(GetAttribute("BuffStack")).Apply(target, user, this);
}));
return new List<CommandBase> { mainGroup };
}