Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OnPreThingCreation
- {
- -- Utility
- function EquipWeapon( name )
- CreateCard({ Name = name, Type = "WEAPON" })
- DrawCard({ Name = name, Type = "WEAPON" })
- PlayCard({ Name = name, Type = "WEAPON" })
- end
- function EquipWeaponInSlot( name, slot )
- CreateCard({ Name = name, Type = "WEAPON" })
- DrawCard({ Name = name, Type = "WEAPON" })
- PlayCard({ Name = name, Type = "WEAPON", Slot = slot })
- end
- function DrawAndPlayCardInSlot( name, slot )
- DrawCard({ Name = name, Type = "WEAPON" })
- PlayCard({ Name = name, Type = "WEAPON", Slot = slot })
- end
- function DrawAndPlayCardInSlotForPlayer( name, slot, playerType )
- DrawCard({ Name = name, Type = "WEAPON", PlayerIndex = playerType })
- PlayCard({ Name = name, Type = "WEAPON", Slot = slot, PlayerIndex = playerType })
- end
- function EquipPlayerTwoWeapon( name )
- CreateCard({ Name = name, Type = "WEAPON", PlayerIndex = 2 })
- DrawCard({ Name = name, Type = "WEAPON", PlayerIndex = 2 })
- PlayCard({ Name = name, Type = "WEAPON", PlayerIndex = 2 })
- end
- function EquipPlayerTwoWeaponInSlot( name, slot )
- CreateCard({ Name = name, Type = "WEAPON", PlayerIndex = 2 })
- DrawCard({ Name = name, Type = "WEAPON", PlayerIndex = 2 })
- PlayCard({ Name = name, Type = "WEAPON", PlayerIndex = 2, Slot = slot })
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement