Card爆改!

This commit is contained in:
SoulliesOfficial
2025-11-15 12:17:34 -05:00
parent 85bbe2431c
commit 5fe665d0ce
121 changed files with 838 additions and 783 deletions

View File

@@ -31,32 +31,32 @@ namespace Continentis.Mods.Basic.Characters
{
characterDeck.PoolPile.ForEach(card =>
{
card.cardLogic.weightSubmodule.baseWeight = 0;
card.cardLogic.weightSubmodule.forceUse = false;
card.cardLogic.weightSubmodule.forceIgnore = false;
card.weightSubmodule.baseWeight = 0;
card.weightSubmodule.forceUse = false;
card.weightSubmodule.forceIgnore = false;
});
foreach (CardInstance card in characterDeck.PoolPile)
{
if (card.cardLogic is HellfireBlast)
{
card.cardLogic.weightSubmodule.baseWeight = 1;
card.weightSubmodule.baseWeight = 1;
}
else if (card.cardLogic is NecromanticInfusion)
{
if (characterRecord.GetLastActionsRecords(3)
.Any(rec => rec.cardsPlayed.Any(recCard => recCard.cardLogic is NecromanticInfusion)))
{
card.cardLogic.weightSubmodule.baseWeight = 0;
card.weightSubmodule.baseWeight = 0;
}
else
{
card.cardLogic.weightSubmodule.baseWeight = 1;
card.weightSubmodule.baseWeight = 1;
}
}
else if (card.cardLogic is GreatswordSweep)
{
card.cardLogic.weightSubmodule.baseWeight = 1;
card.weightSubmodule.baseWeight = 1;
}
}
}
@@ -83,7 +83,7 @@ namespace Continentis.Mods.Basic.Characters
{
if (card.cardLogic is ArmyOfTheDead)
{
card.cardLogic.weightSubmodule.forceUse = true;
card.weightSubmodule.forceUse = true;
}
}
}
@@ -121,7 +121,7 @@ namespace Continentis.Mods.Basic.Characters
{
if (card.cardLogic is WrathOfUnderworld)
{
card.cardLogic.weightSubmodule.forceUse = true;
card.weightSubmodule.forceUse = true;
}
}
}