15 lines
418 B
C#
15 lines
418 B
C#
public class IsLeaderRebirth : TargetedCompareRequirementBase
|
|
{
|
|
public override bool IsValid(MinEventParams _params)
|
|
{
|
|
//Log.Out("IsLeaderRebirth-IsValid START");
|
|
if (!this.ParamsValid(_params))
|
|
{
|
|
//Log.Out("IsLeaderRebirth-IsValid 1");
|
|
return false;
|
|
}
|
|
|
|
return (int)_params.Self.Buffs.GetCustomVar("$Leader") == this.target.entityId;
|
|
}
|
|
}
|