更新
This commit is contained in:
@@ -19,6 +19,7 @@ namespace Continentis.MainGame.Character
|
||||
//中性状态
|
||||
Taunt = 2000, //嘲讽
|
||||
Protected = 2001, //被保护
|
||||
Provoked = 2002, //被挑衅
|
||||
}
|
||||
|
||||
public partial class StatusSubmodule : SubmoduleBase<CharacterBase>
|
||||
@@ -26,6 +27,12 @@ namespace Continentis.MainGame.Character
|
||||
public Dictionary<StatusType, int> currentStatus;
|
||||
public bool isDead;
|
||||
|
||||
/// <summary>
|
||||
/// 挑衅者列表:当该角色处于 Provoked 状态时,只能攻击此列表中的角色。
|
||||
/// 由 Provoked Buff 负责维护(添加/移除)。
|
||||
/// </summary>
|
||||
public List<CharacterBase> provokers;
|
||||
|
||||
public StatusSubmodule(CharacterBase character) : base(character)
|
||||
{
|
||||
currentStatus = new Dictionary<StatusType, int>();
|
||||
@@ -35,6 +42,7 @@ namespace Continentis.MainGame.Character
|
||||
}
|
||||
|
||||
isDead = false;
|
||||
provokers = new List<CharacterBase>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user