Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function createMonsterCreat(bossName, pos, times)
- if times <= 0 then
- local monsterCreats = doCreateMonster(bossName, pos)
- if monsterCreats and tonumber(monsterCreats) then
- doSendMagicEffect(pos, 101)
- else
- print('createMonsterCreat: FAIL ' .. bossName)
- end
- else
- doSendAnimatedText(pos, times, colorCountDown_whiteTored(times))
- addEvent(createMonsterCreat, 1000, bossName, pos, times-1)
- doSendMagicEffect(pos, 100)
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement