From f60411d747a127cea49e56a11a047d2eb281bb5d Mon Sep 17 00:00:00 2001 From: Ivo Julca Date: Tue, 24 Sep 2024 21:05:51 -0500 Subject: [PATCH] Implement cmd API for custom maps to disable tavern heroes --- common.eai | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.eai b/common.eai index 8756360e9..1a278aae5 100644 --- a/common.eai +++ b/common.eai @@ -8059,6 +8059,10 @@ function cmd_misc takes integer cmd, integer data returns nothing elseif cmd == 73 then set console_on = true + + elseif cmd == 80 then + set nearest_neutral[NEUTRAL_TAVERN] = null + set recalculate_heros = true endif endfunction