--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]] local ____exports = {} local ____custom_game_events = require("custom_game_events") local ensurePlayerCardSystem = ____custom_game_events.ensurePlayerCardSystem local ____card_51 = require("cards.examples.card_51") local notifyCard51MorningStarted = ____card_51.notifyCard51MorningStarted ____exports.notifyCard51MorningStarted = notifyCard51MorningStarted --- Рассвет: убрать шлак (86) из пула у всех игроков с CardSystem. function ____exports.notifySlagMorningStarted(self, _morningSequence) if not IsServer() then return end do local i = 0 while i < DOTA_MAX_PLAYERS do do local pid = i local cardSystem = ensurePlayerCardSystem(nil, pid) if not cardSystem then goto __continue4 end cardSystem:ClearSlagFromPool() end ::__continue4:: i = i + 1 end end end return ____exports