local addmon = require('map.addmonster')
local addMonCo = addmon.monGener( -- 调控室_D904
{
    {
        name = '海神将领',
        loc = {
            {x = 50, y = 50, w = 50, h = 50, count = 15, time = 3600},
        }
    },
    {
        name = '爆毒神魔',
        loc = {
            {x = 50, y = 50, w = 50, h = 50, count = 10, time = 3600},
        }
    },
    {
        name = '神舰守卫',
        loc = {
            {x = 50, y = 50, w = 50, h = 50, count = 15, time = 3600},
        }
    },
    {
        name = '红衣法师',
        loc = {
            {x = 50, y = 50, w = 50, h = 50, count = 10, time = 3600},
        }
    },
    {
        name = '霸王教主',
        loc = {
            {x = 50, y = 50, w = 50, h = 50, count = 1, time = 10800},
        }
    },
})

function main()
    while true do
        local rc, errMsg = coroutine.resume(addMonCo)
        if not rc then
            fatalPrintf('addMonCo failed: %s', argDefault(errMsg, 'unknown error'))
        end
        pause(1000 * 5)
    end
end
