Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ********
- // * DECK *
- // ********
- // This Deck requires the startingPowers to be defined outside of it,
- // since it just "fills out" the rest of the deck after
- // the player has chosen the cards they want.
- // Instructions
- // 1. Import this file
- // 2. Defne the startingPower fields somewhere
- // 3. Call the first function in this file
- Import Decks\Initialize.txt
- OnLoad
- {
- function DeckCustom()
- -- Destroy & Declare Deck
- activeDeck = "Custom"
- activeDeckMessage = "Custom "..startingCard
- DestroyDeck({ })
- DisplayObjectivePanelText({ Name = activeDeckMessage })
- startingType = "WEAPON"
- -- Movement power randomizer
- MoveRandomizer = math.random(1,5)
- if MoveRandomizer == 1 then
- startingMover = "Dash"
- elseif MoveRandomizer == 2 then
- startingMover = "Dash"
- elseif MoveRandomizer == 3 then
- startingMover = "Blink"
- elseif MoveRandomizer == 4 then
- startingMover = "AirDash"
- elseif MoveRandomizer == 5 then
- startingMover = "Dash"
- end
- -- Starting
- CreateCard({ Name = startingPower, Type = startingType })
- CreateCard({ Name = startingPower2, Type = startingType })
- CreateCard({ Name = startingPower3, Type = startingType })
- CreateCard({ Name = startingPower4, Type = startingType })
- -- CreateCard({ Name = startingMover, Type = "WEAPON" })
- -- Utility Power
- CreateCard({ Name = "HealSelf", Type = "WEAPON" })
- -- Passives
- CreateCard({ Name = "PlusSpeed", Type = "PLAYER_UPGRADE" })
- CreateCard({ Name = "PlusDamage", Type = "PLAYER_UPGRADE" })
- CreateCard({ Name = "PlusHealth", Type = "PLAYER_UPGRADE" })
- CreateCard({ Name = "PlusStamina", Type = "PLAYER_UPGRADE" })
- CreateCard({ Name = "PlusStaminaRegen", Type = "PLAYER_UPGRADE" })
- CreateCard({ Name = "PlayerOnHitWeapon", Type = "PLAYER_UPGRADE" })
- CreateCard({ Name = "OnKillBuff", Type = "PLAYER_UPGRADE" })
- -- Upgrades
- CreateCard({ Name = "Weapon_Damage", Type = "WEAPON_UPGRADE" })
- CreateCard({ Name = "Weapon_Damage", Type = "WEAPON_UPGRADE" })
- CreateCard({ Name = "Weapon_StaminaCost", Type = "WEAPON_UPGRADE" })
- CreateCard({ Name = "Weapon_StaminaCost", Type = "WEAPON_UPGRADE" })
- CreateCard({ Name = "Weapon_Stun", Type = "WEAPON_UPGRADE" })
- CreateCard({ Name = "Weapon_Stronger", Type = "WEAPON_UPGRADE" })
- CreateCard({ Name = "Weapon_ProjectileSpeedAndRange", Type = "WEAPON_UPGRADE" })
- -- Meta
- CreateCard({ Name = "MetaDrawCard", Type = "DRAW", Count = 3, Cost = 3 })
- -- Curse
- -- Starting Hand
- DrawCard({ Name = startingPower, Type = startingType })
- DrawCard({ Name = startingPower2, Type = startingType })
- DrawCard({ Name = startingPower3, Type = startingType })
- -- DrawCard({ Name = startingMover, Type = "WEAPON" })
- end
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement