Skip to content
User Avatar
#1986
Auto-translated
function new_day()
local day, wday, week, month = GetDate(DAY), GetDate(DAY_OF_WEEK), GetDate(WEEK), GetDate(MONTH)
if month == 7 then
Loose(1)
end
if month == 5 and week == 1 and wday == 1 then
DeployReserveHero('reserved_hero_name', x_coordinate, y_coordinate, floor_0_or_1)
end
end

Trigger(NEW_DAY_TRIGGER, 'new_day')


Added after 38 seconds
You only need to reserve a hero for a specific AI player in the Players tab of the map properties.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4