This commit is contained in:
SoulliesOfficial
2026-04-17 12:01:50 -04:00
parent dd2657573a
commit ac98ec3aef
438 changed files with 4505 additions and 428 deletions

View File

@@ -6,19 +6,19 @@ namespace Continentis.Mods.Basic.Buffs
{
public class Consolidate : CharacterCombatBuffBase
{
public Consolidate(int roundCount)
public Consolidate(int count)
{
Initialize(BuffType.Positive, BuffDispelLevel.Strong);
this.contentSubmodule = new ContentSubmodule(this)
.AddParameterGetter("Count", () => roundCountSubmodule.remainingCount.ToString());
.AddParameterGetter("Count", () => roundFirstActionCountSubmodule.remainingCount.ToString());
this.iconSubmodule = new IconSubmodule(this);
this.roundCountSubmodule = new CountSubmodule(this, roundCount);
this.roundFirstActionCountSubmodule = new CountSubmodule(this, count);
this.generalAttributeSubmodule = new GeneralAttributeSubmodule(this);
this.generalAttributeSubmodule.numericChange.Add("KeepBlockOnActionStart", 1);
this.generalAttributeSubmodule.numericChange.Add("KeepBlockOnRoundFirstActionStart", 1);
}
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
@@ -27,7 +27,7 @@ namespace Continentis.Mods.Basic.Buffs
if (FindExistingSameBuff(out existingBuff))
{
existingBuff.roundCountSubmodule.AddCount(this.roundCountSubmodule.remainingCount);
existingBuff.roundFirstActionCountSubmodule.AddCount(this.roundFirstActionCountSubmodule.remainingCount);
return false;
}