local ____lualib = require("lualib_bundle") local __TS__Class = ____lualib.__TS__Class local __TS__ClassExtends = ____lualib.__TS__ClassExtends local __TS__Decorate = ____lualib.__TS__Decorate local ____exports = {} local ____card_catalog = require("card_catalog") local WISH_GIFT_CARD_IDS = ____card_catalog.WISH_GIFT_CARD_IDS local ____CardSystem = require("cards.CardSystem") local CardBase = ____CardSystem.CardBase local RegisterCard = ____CardSystem.RegisterCard local ShowCardSelectionExactOptionsToPlayer = ____CardSystem.ShowCardSelectionExactOptionsToPlayer local CARD_ID = 62 local WISH_OPTIONS = WISH_GIFT_CARD_IDS ____exports.card_62 = __TS__Class() local card_62 = ____exports.card_62 card_62.name = "card_62" card_62.____file_path = "scripts/vscripts/cards/examples/card_62.lua" __TS__ClassExtends(card_62, CardBase) function card_62.prototype.OnCreated(self) if not IsServer() then return end local hero = self:GetHero() if not hero or not IsValidEntity(hero) or not hero:IsRealHero() then return end local playerId = hero:GetPlayerOwnerID() if playerId == nil or playerId == nil or playerId < 0 then return end ShowCardSelectionExactOptionsToPlayer(nil, playerId, WISH_OPTIONS, "card_62_wish_choice") end function card_62.prototype.GetModifierName(self) return nil end function card_62.prototype.IsHidden(self) return true end card_62 = __TS__Decorate(card_62, card_62, {RegisterCard}, {kind = "class", name = "card_62"}) ____exports.card_62 = card_62 return ____exports