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

@@ -7,16 +7,16 @@ namespace Continentis.Mods.Basic.Buffs
{
public sealed class Vulnerable : CharacterCombatBuffBase
{
public Vulnerable(int duration)
public Vulnerable(int count)
{
Initialize(BuffType.Negative, BuffDispelLevel.Basic);
this.contentSubmodule = new ContentSubmodule(this)
.AddParameterGetter("Count", () => actionCountSubmodule.remainingCount.ToString());
.AddParameterGetter("Count", () => roundFirstActionCountSubmodule.remainingCount.ToString());
this.iconSubmodule = new IconSubmodule(this);
this.actionCountSubmodule = new CountSubmodule(this, duration);
this.roundFirstActionCountSubmodule = new CountSubmodule(this, count);
this.generalAttributeSubmodule = new GeneralAttributeSubmodule(this);
generalAttributeSubmodule.numericChange.Add("PhysicsDamageGainMultiplier", 0.5f);
@@ -28,7 +28,7 @@ namespace Continentis.Mods.Basic.Buffs
if (FindExistingSameBuff(out existingBuff))
{
existingBuff.actionCountSubmodule.AddCount(this.actionCountSubmodule.remainingCount);
existingBuff.roundFirstActionCountSubmodule.AddCount(this.roundFirstActionCountSubmodule.remainingCount);
return false;
}