This commit is contained in:
SoulliesOfficial
2025-11-30 21:22:39 -05:00
parent afbeeebe75
commit 27af2b7eb2
16 changed files with 143 additions and 24 deletions

View File

@@ -24,6 +24,10 @@ MonoBehaviour:
cardLayoutTags: []
functionText: Card_Basic_ArmyOfTheDead_FunctionText
cardDescription:
intentionIconKeys:
- Summon
intentionValueNames:
- SummonCount
baseWeight: 1
variableAttributes:
dictionaryList:

View File

@@ -25,8 +25,11 @@ MonoBehaviour:
functionText: Card_Basic_GreatswordSweep_FunctionText
cardDescription: '$Keyword("Sorcery"), $Keyword("LifeSteal"): $Attribute("LifeStealPercent",
true, true), deal $Attribute("Damage") darkness damage 3 times to all enemies.'
intentionIconKeys: []
intentionValueNames: []
intentionIconKeys:
- PhysicsAttack
intentionValueNames:
- Damage
intentionTextOverride: $Attribute("Damage") ALL
baseWeight: 0
variableAttributes:
dictionaryList:

View File

@@ -25,8 +25,11 @@ MonoBehaviour:
cardLayoutTags: []
functionText: Card_Basic_HellfireBlast_FunctionText
cardDescription:
intentionIconKeys: []
intentionValueNames: []
intentionIconKeys:
- MagicAttack
- Weaken
intentionValueNames:
- Damage
baseWeight: 1
variableAttributes:
dictionaryList:

View File

@@ -24,6 +24,10 @@ MonoBehaviour:
cardLayoutTags: []
functionText: Card_Basic_NecromanticInfusion_FunctionText
cardDescription:
intentionIconKeys:
- Boost
- Weaken
intentionValueNames: []
baseWeight: 0
variableAttributes:
dictionaryList:

View File

@@ -25,6 +25,11 @@ MonoBehaviour:
cardLayoutTags: []
functionText: Card_Basic_WrathOfUnderworld_FunctionText
cardDescription:
intentionIconKeys:
- PhysicsAttack
intentionValueNames:
- Damage
intentionTextOverride: '$Attribute("Damage")*$Attribute("AttackCount") '
baseWeight: 1
variableAttributes:
dictionaryList:
@@ -44,6 +49,10 @@ MonoBehaviour:
Value: 0
index: 3
isKeyDuplicated: 0
- Key: AttackCount
Value: 5
index: 4
isKeyDuplicated: 0
dividerPosProp: 0.5
originalAttributes:
dictionaryList: []

View File

@@ -18,16 +18,16 @@ namespace Continentis.Mods.Basic.Cards
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandGroup singleTargetGroup = new CommandGroup(ExecutionMode.Parallel,
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_ParamFunction<CharacterBase>(0.4f, target =>
List<CommandBase> templates = new List<CommandBase>();
templates.Add(new Cmd_PlayAnimation(user.characterView, "Attack"));
for (int i = 0; i < GetAttribute("AttackCount"); i++)
{
templates.Add(new Cmd_ParamFunction<CharacterBase>(0.4f, target =>
{
user.Attack(target, GetTargetedFinalDamage(target));
})
);
CommandGroup mainGroup = TargetListCommandGroup(targetList, ExecutionMode.Parallel, ExecutionMode.Sequential,
singleTargetGroup, singleTargetGroup, singleTargetGroup, singleTargetGroup, singleTargetGroup);
}));
}
CommandGroup mainGroup = TargetListCommandGroup(targetList, ExecutionMode.Parallel, ExecutionMode.Sequential, templates.ToArray());
return new List<CommandBase> { mainGroup };
}

View File

@@ -16,8 +16,6 @@ namespace Continentis.Mods.Basic.Cards
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
List<CommandBase> templates = new List<CommandBase>();
templates.Add(new Cmd_PlayAnimation(user.characterView, "Attack"));
for (int i = 0; i < GetAttribute("AttackCount"); i++) //多段攻击(段数可变)情况的处理