除了充盈都做完了

This commit is contained in:
SoulliesOfficial
2025-10-31 10:02:30 -04:00
parent 5d09ef7b53
commit ee1d3d9c0a
179 changed files with 3239 additions and 200 deletions

View File

@@ -0,0 +1,41 @@
using Continentis.MainGame;
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Combat;
using SLSFramework.General;
using SLSFramework.UModAssistance;
using UnityEngine;
namespace Continentis.Mods.Basic.Buffs
{
public class Haste : CharacterCombatBuffBase
{
public Haste()
{
Initialize(BuffType.Focusing, BuffDispelLevel.Strong);
this.contentSubmodule = new ContentSubmodule(this);
this.iconSubmodule = new IconSubmodule(this);
this.eventSubmodule = new EventSubmodule(this);
this.eventSubmodule.onRoundEnd.Add("Haste", new PrioritizedAction(() =>
{
CardData whimsyData = ModManager.GetData<CardData>("CardData_Basic_Whimsy");
CardInstance.GenerateCardInstance(whimsyData, attachedCharacter.team, "Hand");
}));
}
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
{
MainGameManager.Instance.basePrefabs.GenerateInfoText(contentSubmodule.displayName, attachedCharacter.characterView);
if (FocusingCheck(out existingBuff))
{
return false;
}
return true;
}
}
}