10 lines
257 B
C#
10 lines
257 B
C#
public class DialogRequirementIsLeaderRebirth : BaseDialogRequirement
|
|
{
|
|
public override bool CheckRequirement(EntityPlayer player, EntityNPC talkingTo)
|
|
{
|
|
return ((int)talkingTo.Buffs.GetCustomVar("$Leader") == player.entityId);
|
|
}
|
|
}
|
|
|
|
|