Upload from upload_mods.ps1
This commit is contained in:
9
Scripts/Dialog/NPCs/DialogRequirementIsLeaderRebirth.cs
Normal file
9
Scripts/Dialog/NPCs/DialogRequirementIsLeaderRebirth.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
public class DialogRequirementIsLeaderRebirth : BaseDialogRequirement
|
||||
{
|
||||
public override bool CheckRequirement(EntityPlayer player, EntityNPC talkingTo)
|
||||
{
|
||||
return ((int)talkingTo.Buffs.GetCustomVar("$Leader") == player.entityId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user