Upload from upload_mods.ps1
This commit is contained in:
9
Scripts/Requirements/HoldingActionIndexIs.cs
Normal file
9
Scripts/Requirements/HoldingActionIndexIs.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using KFCommonUtilityLib.Scripts.StaticManagers;
|
||||
|
||||
public class HoldingActionIndexIs : ActionIndexIs
|
||||
{
|
||||
public override bool IsValid(MinEventParams _params)
|
||||
{
|
||||
return (MultiActionManager.GetActionIndexForEntity(_params.Self) == index) ^ invert;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user