private void Attack() { if (UIManager.IsMaxMapOn || UIManager.IsInventory) { return; } grimoire.Attack(); }