示例#1
0
 protected bool UnitHasLeech(TrinityActor actor) => actor.HasDebuff(SNOPower.X1_DemonHunter_Passive_Leech);
示例#2
0
 protected bool UnitHasDecrepify(TrinityActor actor) => actor.HasDebuff(SNOPower.P6_Necro_PassiveManager_Decrepify);
示例#3
0
 protected bool UnitHasFrailty(TrinityActor actor) => actor.HasDebuff(SNOPower.P6_Necro_PassiveManager_Frailty);
示例#4
0
文件: Skill.cs 项目: ysj1995/Trinity
 /// <summary>
 /// Checks if a unit is currently being tracked with a given SNOPower. When the spell is properly configured, this can be used to set a "timer" on a DoT re-cast, for example.
 /// </summary>
 public bool IsTrackedOnUnit(TrinityActor unit)
 {
     return(unit.HasDebuff(SNOPower));
 }