继续搞点新机制
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user