-
Notifications
You must be signed in to change notification settings - Fork 1
FAQ
1. What if my card fits into several archetypes? e.g. "Discard 3 cards, apply 3 Poison to all enemies, gain 3 Shivs."
- Add it to all of them. Duplicates are cleared, so you can fit a card in as many jsons as you want.
2. What if my card doesn't fit into any archetype? e.g. "Deal 9 damage 2 times."
- Add it to the "Basic" Archetype - it is the catch-all archetype for all 'standard' cards.
3. My custom character has 75 cards. How do I know I didn't miss putting any of them in the jsons?
-
Start a run with them after enabling ArchAPI and search for the following log:
12:08:34.628 INFO effects.RandomArchetypeEffect> This character has cards not registered with archetype API. Those cards are: [Card 1, Card 2, Card 3]
If you can't find it or it's empty - you've added all the cards!
4. I am expanding existing basegame archetypes. Do I need to tag them the same way?
- No. Basegame archetypes are already pre-tagged. All you have to make sure of is that you used an identical archetpe name (i.e. "Poison"), for "My Mod's Poison Expac". Don't tag it Single, as archetypes with the same name include each-other - once basegame
Poisonis rolled, yours will be included. If you're making a brand new type of poison, (e.g. replay the spire's necrotic poison) consider making it a brand new archetype.
5. I am adding brand new archetypes to existing characters. Do I need to tag them?
- Yes, normally this would just be "SINGLE" and nothing else. If you're adding new orbs to the defect, remember to add the "INCLUDE_SUPPORT" tag.
6. What is support/include support?
- When you start a new game, Archetype API starts grabbing random archetypes. Every time it does so, it checkes whether it grabbed one tagged
SUPPORT(e.g. Focus Cards archetype for the Defect). If it did, it'll check if it had previously grabbed one with the tagINCLUDE_SUPPORT(e.g. any orb archetype). If it did - the SUPPORT archetype will be added. If not, it'll be re-rolled.