Tabletop Simulator

Tabletop Simulator

评价数不足
Booster Pack Creator Script
   
奖励
收藏
已收藏
取消收藏
Assets: Scripting
文件大小
发表于
更新日期
111.106 KB
2016 年 5 月 16 日 上午 3:06
2016 年 5 月 16 日 上午 6:18
2 项改动说明 ( 查看 )

订阅以下载
Booster Pack Creator Script

描述
Based on the script by Slamakans here: http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=657070527 . Replace the stock cards in the infinite bags with the appropriate cards.

It supports three rarities* and has these features:
- No longer deals to bags; however, supports building multiple packs per press! Just customize "booster_pack_rows" and "booster_pack_columns" in the script and it'll build multiple packs in that many rows and columns.
- The rarity breakdown per pack is easily customizable in the beginning of the script.
- A "fast_deal" customizable variable (true by default) that makes building the packs much faster. You may also customize "deal_wait_time" to affect the time between each card dealt.

* For Magic: The Gathering sets, put two copies of every rare and one copy of every mythic into one stack, then put that in the rare bag. Because there are roughly 3.5 times as many rares as mythics in an MTG set, roughly 1 in 8 packs will contain a mythic.
8 条留言
x3dvvinx 2024 年 10 月 20 日 上午 8:20 
How do you add different cards into an infinite bag?
lelelelelelelelelelelelelelele 2016 年 10 月 6 日 上午 2:50 
It's for Clash of the Dragons. Used to be a CCG on Facebook & Kongregate, but got shut down and replaced by a shit game, for some reason.

But by now I've written up my own script to create some draft packs, so that works fine now, thanks for the response though :)
spheniscine  [作者] 2016 年 10 月 5 日 下午 11:49 
There is always a way, but depending on how the rarities work it may be more or less difficult to implement. Additionally, I wish I had coded these so that the bags are part of an array, so code doesn't need to be added for each new bag.

What TCG did you have in mind by the way?
lelelelelelelelelelelelelelele 2016 年 10 月 5 日 上午 5:00 
Amazing script, one question though: Is there a way to edit the script to support up to 5 (or more) bags?

So far, this is the only good script I could find to create Draft-packs, but I need more rarity choices than 3
Vekranith 2016 年 5 月 18 日 上午 7:21 
PS: it was my birthday yesterday so its like a birthday present so thanks haha
Vekranith 2016 年 5 月 18 日 上午 7:21 
Holy jeebus you are a rockstar! exactly what I was looking for and im too stupid to do it myself haha. This will make drafting infinitely easier than before :D Thank you good sir!
Star-X 2016 年 5 月 17 日 下午 12:13 
Scratch that, I'm an idiot. The decks just need to be outside of the bags as well as inside, so there's no additional loading required.
Star-X 2016 年 5 月 17 日 上午 11:21 
The script has issues when using decks of over 300 cards. Probably has less to do with you and more to do with the scripting not being fast enough to handle decks with over 300 cards.