Commit Graph

19 Commits

Author SHA1 Message Date
Chr1Z
477074cc20
Merge pull request #83 from argonui/servitor-bugfix
DeckImporter: Summoned Servitor (Dominance) - BUGFIX
2022-12-06 22:42:33 +01:00
Chr1Z93
5b0cdf942d resolve merge conflict (again!!) 2022-12-06 11:34:49 +01:00
Chr1Z93
c84e8a2101 resolve merge conflict (again) 2022-12-06 11:34:00 +01:00
Chr1Z93
cd83347c72 resolve merge conflict 2022-12-06 11:32:57 +01:00
Chr1Z93
b03aee593d bugfix for 'dominance' 2022-12-06 11:09:47 +01:00
Buhallin
12f7ed0e3e
Merge pull request #76 from argonui/diana
Add startsInHand handling for the deck loader
2022-11-28 10:35:58 -08:00
Buhallin
695ad9fd14
Add handling for cards to start in a player's hand
Currently for Diana's Dark Insight, this add generalized handling to move a card to the player's hand on deck creation.
2022-11-24 14:25:15 -08:00
Buhallin
d4a29c3229
Minor formatting fix 2022-11-24 12:04:04 -08:00
Buhallin
0df51128e0
Handle On the Mend when loading from ArkhamDB
Vincent Lee gets one copy of On the Mend per investigator, and they should start set aside.
2022-11-24 11:58:57 -08:00
Buhallin
d2b498a3ba
Fix bug with deck loader since trait removal
Since traits are now an optional field in the metadata, add nil checks when using them
2022-11-17 18:51:31 -08:00
Buhallin
7c9d728820
Handle review comments, and add some documentation that got lost 2022-11-17 01:39:49 -08:00
Buhallin
d19d35a310
Refactor upgrade sheet handling in the deck loader
- Split upgrade sheets to follow the slots/data pattern
- Factor out methods to set selections on upgrade sheets
- Factor out method to add Summoned Servitor minicard
- Add type 'UpgradeSheet' to appropriate cards
- Remove handleStartsInPlay() method and detect it as a default zone
2022-11-17 01:03:58 -08:00
Buhallin
dea999e0a6
Add comment to spawn method for argument clarity 2022-11-12 16:43:07 -08:00
Buhallin
959a11e3d7
Update comment on changed method 2022-11-12 02:37:36 -08:00
Buhallin
d23aa2c2e4
Extract card spawning methods from the loader
This refactors the current ArkhamDB loader by moving the card spawning operations to a standalone file which can be included in other objects.

Card list build methods are appropriately updated as well.
2022-11-12 02:31:12 -08:00
Buhallin
495f3a1d8a [Cleanup] Move Zones to a basic require structure
I was trying to use a scoped require, which the tooling didn't like and 
TTS doesn't respect anyway.  Removed the extra structure and changed the 
require() to a simple one.
2022-11-04 11:55:42 -07:00
Kevin
3072723d9e [Cleanup] Move default zone selection to DeckImporterMain
The current way of tracking bonded cards to spawn them in the right zone 
didn't play well with the default zone method being in Zones.  Since 
it's really a deck loader-only functionality anyway, moved it to the 
loader.
2022-10-26 13:07:30 -07:00
Kevin
3d216f1dab Update source repository to SCED v2.3.1 2022-10-25 00:36:45 -07:00
Kevin
83f75c2318 Initial code extraction and commit
Initialize the SCED repository by moving most scripts from TTS objects 
to separate files which are included via require().
2021-10-06 20:37:31 -07:00