继续搞点新机制
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
|
||||
{
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace Continentis.MainGame.Character
|
||||
|
||||
//中性状态
|
||||
Taunt = 2000, //嘲讽
|
||||
Protected = 2001, //被保护
|
||||
}
|
||||
|
||||
public partial class StatusSubmodule : SubmoduleBase<CharacterBase>
|
||||
|
||||
Reference in New Issue
Block a user