protected void May(Action a) { ApplyingEffects = true; if (CurrentEffect.may && !activePlayer.AI) { effectTarget.IntChoices["May"] = -1; StartCoroutine(MayCoroutine(a)); if (effectTarget.IsLocalPlayer) { UI.ShowBooleanChoiceUI(CurrentEffect.effectType.ToString(), "Skip", (b) => { if (b) { effectTarget.SetIntChoiceServerRpc("May", 0); } else { effectTarget.FinishedApplyingEffectsServerRpc(); } }); } } else { a(); } }