继续搞点新机制

This commit is contained in:
SoulliesOfficial
2025-10-25 07:49:39 -04:00
parent 76157e3cb1
commit bb9aea5f43
118 changed files with 1521 additions and 6760 deletions

View File

@@ -22,6 +22,11 @@ namespace Continentis.MainGame.Character
{
return (T)buffList.Find(x => x.GetType() == typeof(T));
}
public T GetBuff<T>(string identification) where T : CharacterCombatBuffBase
{
return (T)buffList.FindAll(x => x.GetType() == typeof(T)).Find(x => x.identification == identification);
}
public bool HasBuff<T>() where T : CharacterCombatBuffBase
{