It is currently 19 Apr 2024, 06:48
   
Text Size

A few questions I had

MicroProse's Shandalar Campaign Game, now with new cards & a new look!

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

A few questions I had

Postby sylviapsichosis » 28 Mar 2019, 03:23

Hey! I had a few miscellaneous questions that I was hoping someone would know the answer to.

1. Is there a guide to what bonus effects you can get from which enemies? First strike, card duplication, etc.

2. I read that different individual enemies have different cards they can start for free with (Goblin Lord starting with Mons's Goblin Raiders for example) is there any way to check this?

3. Is there anywhere to check which cards are only available in dungeons?

4. Can you edit any of these? I'm particularly interested in editing which cards are available in dungeons.
sylviapsichosis
 
Posts: 4
Joined: 23 Mar 2019, 02:49
Has thanked: 3 times
Been thanked: 0 time

Re: A few questions I had

Postby Korath » 28 Mar 2019, 06:51

1/2 | Open
Code: Select all
;Gender:  Either 'm' for male or 'f' for female.  Does nothing except swap
;some messages, and most of them are the same in English anyway.  Not editable.

;BaseLife: The number in the formulae to find the enemy's actual starting life,
;which is heavily dependent on the difficulty level.  Also influences many
;other things that it really shouldn't, including quest rewards, whether quest
;text calls them dragons or not (only for BaseLife=18), bribing cost, the gold
;they offer you when you've defeated enough, the chance of sideboarding, the
;number of cards you get for defeating one, and the chance of getting an amulet
;after winning a duel.  Critically, it's also used to pick which enemies to
;spawn, both in dungeons and the wilderness, so it's uneditable, and the values
;provided here are only for reference.  [Duel]AILife and [Duel]AILifeAverage
;are what you want.

;Unknown: Seems to influence bribing cost, the chance of getting an amulet
;after a duel, and the chance of the enemy sideboarding.

;Class: Enemy classification.  Like BaseLife, this is used in many places it
;probably shouldn't be, and so is uneditable and provided for reference.

;Colors: Again, uneditable because it's used for spawning, but also determines
;which terrains the enemy can travel over in the wilderness.

;Signature: Signature card.  Does two things: determine the filename the
;enemy's deck is stored in, and prevents the card from being offered by that
;enemy as ante in the wilderness (but not when liberating a town).  If that
;seems nonsensical to you even after reading through BaseLife above, well, it
;does to me too.  (The numbers for Arzakon and the five dragons weren't in use
;in the original game; they got new cards assigned in Manalink more or less at
;random.)  Provided for reference, but mostly as a curiosity.

;Movement: Movement abilities.  Most of these are named according to which
;enemies have them, since it's unclear what precisely they do.  Change at your
;own risk; the only thing I've tried is removing INVISIBILITY, which seems
;safe.
;
;FLYING
;NECRO_SHIFTER_SUMMONER
;WARMAGE_MINDSTEALER_DJINN
;CENTAURSHAMAN
;MERFOLK_ELEMENTALIST
;APE_CENTAURSHAMAN
;SEDGE_ELEMENTALIST
;WARCHIEF
;INVISIBILITY
;MOUNTED

;Ability: These are applied at the start of a wilderness duel.  There's about a
;2 in 3 chance of abilities happening, but they're not individually checked -
;that is, if four different abilities are set, there's a 1/3 chance of nothing
;happening, and a 2/3 chance of all four happening.  Several of the abilities,
;however, individually check a random number after that.  Further, there's
;several duplicate abilities, none of which are stackable - adding HAVE_CARD_40
;won't do anything if HAVE_CARD is already set, for example.
;
;FIRST_STRIKE - Enemy takes the first turn and doesn't skip its draw.
;HAVE_CARD - Enemy might, depending on the skill level and your total number of
;            duel victories, start the duel with its MyCard on the battlefield.
;HAVE_CARD_40 - Identical to HAVE_CARD and HAVE_CARD_80.
;HAVE_CARD_80 - Identical to HAVE_CARD and HAVE_CARD_40.
;MIND_CONTROL - 1 in 3 chance (after ability check) that the enemy uses your
;               deck (and maybe your initial hand, depending on
;               MindControlCopiesHand above).
;TRY_THIS_DECK - 1 in 3 chance (after ability check) to have your deck be
;                replaced by a random enemy's from 1-35.
;SWAP_ENEMY - 1 in 3 chance of changing into a different enemy, numbered a
;             random number from 1-3 higher than this enemy.  Can't become
;             Arzakon or a Boss.
;SWAP_ENEMY_10 - Identical to SWAP_ENEMY.  Unused.
;THOUGHT_INVOKER - Assigned to Thought Invoker, but doesn't do anything.

;Reward: Given after winning a wilderness duel when the enemy's abilities
;activated (if it had any).  There's a chance, apparently depending on the
;enemy's BaseLife and Unknown, that you get an amulet; if you don't, and no
;reward is set, there's a 5 in 12 chance of getting a random reward chosen
;from EXTRA_FOOD, EXTRA_GOLD, EXTRA_LIFE, FIRST_STRIKE_IN_NEXT_DUEL, or
;LIFE_CARRY_OVER.
;
;CARD_OF_CHOICE - You win a copy of any card normally-buyable card (i.e., not
;                 dungeon treasures; in the original game, not certain cards
;                 mostly from Arabian Nights; not cards configured NoChoose
;                 or Disable).
;DUPLICATE_CARD - You win another copy of any card you own.
;EXTRA_FOOD - You get a random amount of food from 20-49.
;EXTRA_GOLD - You win 100 gold.
;EXTRA_LIFE - Your starting life in the next duel is randomly increased by 1-4.
;FIRST_STRIKE_IN_NEXT_DUEL - You play first in the next duel, and don't skip
;                            your draw.
;LIFE_CARRY_OVER - Your life at the end of this duel is your starting life in
;                  the next.  Can't be picked if you end the duel with your
;                  normal starting life.  Usually detrimental.
;MY_CARD_IN_NEXT_DUEL - You start the next duel with a copy of the enemy's
;                       MyCard on the battlefield.
;RANDOM_CARD_NEXT_DUEL - You start the next duel with a random artifact on
;                        the battlefield.
;TELEPORTED - You're teleported to a random location.  Some reward.
;WIN_MY_CARD - You win a copy of the enemy's MyCard.

;MyCard: The card for the HAVE_CARD ability and WIN_MY_CARD and
;MY_CARD_IN_NEXT_DUEL rewards.  May be set either by name or (particularly if
;it has accents in its name) number, from src/card_id.h.  Of particular note is
;that number 0 is Air Elemental.

;Enemy1=Witch
;Gender1=f
;BaseLife1=4
Unknown1=2
;Class1=FEMALE_WIZ
;Colors1=Black
;Signature1=Darkpact (0056)
Movement1=0
Ability1=SWAP_ENEMY
Reward1=0
MyCard1=0

;Enemy2=Undead Knight
;Gender2=m
;BaseLife2=6
Unknown2=1
;Class2=KNIGHT
;Colors2=Black
;Signature2=Black Knight (0016)
Movement2=MOUNTED
Ability2=FIRST_STRIKE
Reward2=FIRST_STRIKE_IN_NEXT_DUEL
MyCard2=0

;Enemy3=Warlock
;Gender3=m
;BaseLife3=8
Unknown3=3
;Class3=MALE_WIZ
;Colors3=Black
;Signature3=Dark Ritual (0055)
Movement3=0
Ability3=0
Reward3=WIN_MY_CARD
MyCard3=Dark Ritual

;Enemy4=VampireLord
;Gender4=m
;BaseLife4=12
Unknown4=2
;Class4=LORD
;Colors4=Black
;Signature4=Sengir Vampire (0220)
Movement4=0
Ability4=0
Reward4=LIFE_CARRY_OVER
MyCard4=0

;Enemy5=Nether Fiend
;Gender5=m
;BaseLife5=16
Unknown5=2
;Class5=FLYER
;Colors5=Black
;Signature5=Lord of the Pit (0151)
Movement5=FLYING
Ability5=0
Reward5=FIRST_STRIKE_IN_NEXT_DUEL
MyCard5=0

;Enemy6=Necromancer
;Gender6=m
;BaseLife6=11
Unknown6=2
;Class6=LIEUTENANT
;Colors6=Black
;Signature6=Zombie Master (0291)
Movement6=NECRO_SHIFTER_SUMMONER
Ability6=HAVE_CARD
Reward6=RANDOM_CARD_NEXT_DUEL
MyCard6=Will-o'-the-Wisp

;Enemy7=Greater Lich
;Gender7=m
;BaseLife7=20
Unknown7=2
;Class7=BOSS
;Colors7=Black
;Signature7=Lich (0141)
Movement7=0
;Ability and Reward don't do anything for Class BOSS or ARZAKON.
Ability7=HAVE_CARD_40
Reward7=CARD_OF_CHOICE
MyCard7=Bad Moon

;Enemy8=Cleric
;Gender8=m
;BaseLife8=4
Unknown8=2
;Class8=MALE_WIZ
;Colors8=White
;Signature8=Samite Healer (0211)
Movement8=0
Ability8=0
Reward8=0
MyCard8=0

;Enemy9=Priestess
;Gender9=f
;BaseLife9=6
Unknown9=3
;Class9=FEMALE_WIZ
;Colors9=White
;Signature9=Reverse Damage (0204)
Movement9=0
Ability9=MIND_CONTROL
Reward9=EXTRA_LIFE
MyCard9=0

;Enemy10=Crusader
;Gender10=m
;BaseLife10=8
Unknown10=2
;Class10=KNIGHT
;Colors10=White
;Signature10=White Knight (0283)
Movement10=MOUNTED
Ability10=FIRST_STRIKE
Reward10=MY_CARD_IN_NEXT_DUEL
MyCard10=White Knight

;Enemy11=Paladin
;Gender11=m
;BaseLife11=12
Unknown11=2
;Class11=LORD
;Colors11=White
;Signature11=Northern Paladin (0175)
Movement11=0
Ability11=0
Reward11=WIN_MY_CARD
MyCard11=Ivory Cup

;Enemy12=Arch Angel
;Gender12=f
;BaseLife12=16
Unknown12=2
;Class12=ARCHMAGE
;Colors12=Whie
;Signature12=Serra Angel (0221)
Movement12=FLYING
Ability12=0
Reward12=EXTRA_LIFE
MyCard12=0

;Enemy13=High Priest
;Gender13=m
;BaseLife13=11
Unknown13=2
;Class13=LIEUTENANT
;Colors13=White
;Signature13=Resurrection (0203)
Movement13=0
Ability13=TRY_THIS_DECK
Reward13=0
MyCard13=0

;Enemy14=Sainted One
;Gender14=m
;BaseLife14=20
Unknown14=2
;Class14=BOSS
;Colors14=White
;Signature14=Blessing (0021)
Movement14=0
;Ability and Reward don't do anything for Class BOSS or ARZAKON.
Ability14=HAVE_CARD_40
Reward14=CARD_OF_CHOICE
MyCard14=Castle

;Enemy15=Seer
;Gender15=f
;BaseLife15=4
Unknown15=2
;Class15=FEMALE_WIZ
;Colors15=Blue
;Signature15=Drain Power (0069)
Movement15=0
Ability15=SWAP_ENEMY
Reward15=0
MyCard15=0

;Enemy16=Merfolk Shaman
;Gender16=m
;BaseLife16=6
Unknown16=1
;Class16=TROLL
;Colors16=Blue
;Signature16=Lord of Atlantis (0150)
Movement16=MERFOLK_ELEMENTALIST
Ability16=0
Reward16=MY_CARD_IN_NEXT_DUEL
MyCard16=Merfolk of the Pearl Trident

;Enemy17=Conjurer
;Gender17=m
;BaseLife17=8
Unknown17=3
;Class17=MALE_WIZ
;Colors17=Blue
;Signature17=Unsummon (0260)
Movement17=INVISIBILITY
Ability17=TRY_THIS_DECK
Reward17=DUPLICATE_CARD
MyCard17=0

;Enemy18=Sea Dragon
;Gender18=m
;BaseLife18=12
Unknown18=2
;Class18=WYRM
;Colors18=Blue
;Signature18=Sea Serpent (0218)
Movement18=MOUNTED
Ability18=0
Reward18=EXTRA_FOOD
MyCard18=0

;Enemy19=Shapeshifter
;Gender19=f
;BaseLife19=16
Unknown19=2
;Class19=ARCHMAGE
;Colors19=Blue
;Signature19=Vesuvan Doppelganger (0263)
Movement19=NECRO_SHIFTER_SUMMONER
Ability19=HAVE_CARD_80
Reward19=WIN_MY_CARD
MyCard19=Shapeshifter

;Enemy20=Thought Invoker
;Gender20=f
;BaseLife20=11
Unknown20=2
;Class20=LIEUTENANT
;Colors20=Blue
;Signature20=Spell Blast (0232)
Movement20=
Ability20=THOUGHT_INVOKER
Reward20=RANDOM_CARD_NEXT_DUEL
MyCard20=0

;Enemy21=Astral Visionary
;Gender21=f
;BaseLife21=20
Unknown21=2
;Class21=BOSS
;Colors21=Blue
;Signature21=Thoughtlace (0245)
Movement21=0
;Ability and Reward don't do anything for Class BOSS or ARZAKON.
Ability21=HAVE_CARD_80
Reward21=CARD_OF_CHOICE
MyCard21=Library of Leng

;Enemy22=Druid
;Gender22=m
;BaseLife22=4
Unknown22=2
;Class22=MALE_WIZ
;Colors22=Green
;Signature22=Ley Druid (0139)
Movement22=0
Ability22=0
Reward22=EXTRA_LIFE
MyCard22=0

;Enemy23=Elvish Magi
;Gender23=m
;BaseLife23=6
Unknown23=1
;Class23=KNIGHT
;Colors23=Green
;Signature23=Elvish Archers (0076)
Movement23=MOUNTED
Ability23=0
Reward23=MY_CARD_IN_NEXT_DUEL
MyCard23=Llanowar Elves

;Enemy24=Enchantress
;Gender24=f
;BaseLife24=8
Unknown24=3
;Class24=FEMALE_WIZ
;Colors24=Green
;Signature24=Verduran Enchantress (0262)
Movement24=0
Ability24=SWAP_ENEMY
Reward24=RANDOM_CARD_NEXT_DUEL
MyCard24=0

;Enemy25=Forest Dragon
;Gender25=m
;BaseLife25=12
Unknown25=2
;Class25=WYRM
;Colors25=Green
;Signature25=Craw Wurm (0049)
Movement25=MOUNTED
Ability25=0
Reward25=EXTRA_FOOD
MyCard25=0

;Enemy26=Beastmaster
;Gender26=m
;BaseLife26=16
Unknown26=2
;Class26=LORD
;Colors26=Green
;Signature26=Natural Selection (0170)
Movement26=0
Ability26=HAVE_CARD
Reward26=MY_CARD_IN_NEXT_DUEL
MyCard26=Timber Wolves

;Enemy27=Summoner
;Gender27=f
;BaseLife27=11
Unknown27=2
;Class27=LIEUTENANT
;Colors27=Green
;Signature27=Channel (0030)
Movement27=NECRO_SHIFTER_SUMMONER
Ability27=HAVE_CARD
Reward27=MY_CARD_IN_NEXT_DUEL
MyCard27=Verduran Enchantress

;Enemy28=Great Druid
;Gender28=m
;BaseLife28=20
Unknown28=2
;Class28=BOSS
;Colors28=Green
;Signature28=Gaea's Liege (0095)
Movement28=0
;Ability and Reward don't do anything for Class BOSS or ARZAKON.
Ability28=HAVE_CARD_40
Reward28=CARD_OF_CHOICE
MyCard28=Living Lands

;Enemy29=Sorceress
;Gender29=f
;BaseLife29=4
Unknown29=2
;Class29=FEMALE_WIZ
;Colors29=Red
;Signature29=Earthbind (0074)
Movement29=0
Ability29=SWAP_ENEMY
Reward29=WIN_MY_CARD
MyCard29=Lightning Bolt

;Enemy30=Sorcerer
;Gender30=m
;BaseLife30=6
Unknown30=3
;Class30=MALE_WIZ
;Colors30=Red
;Signature30=Power Surge (0192)
Movement30=0
Ability30=0
Reward30=DUPLICATE_CARD
MyCard30=0

;Enemy31=Troll Shaman
;Gender31=m
;BaseLife31=8
Unknown31=1
;Class31=TROLL
;Colors31=Red
;Signature31=Uthden Troll (0261)
Movement31=INVISIBILITY
Ability31=0
Reward31=LIFE_CARRY_OVER
MyCard31=0

;Enemy32=Goblin Lord
;Gender32=m
;BaseLife32=12
Unknown32=2
;Class32=LORD
;Colors32=Red
;Signature32=Goblin King (0102)
Movement32=0
Ability32=HAVE_CARD
Reward32=MY_CARD_IN_NEXT_DUEL
MyCard32=Mons's Goblin Raiders

;Enemy33=Hydra
;Gender33=m
;BaseLife33=16
Unknown33=2
;Class33=WYRM
;Colors33=Red
;Signature33=Rock Hydra (0207)
Movement33=MOUNTED
Ability33=0
Reward33=FIRST_STRIKE_IN_NEXT_DUEL
MyCard33=0

;Enemy34=War Mage
;Gender34=m
;BaseLife34=11
Unknown34=2
;Class34=LIEUTENANT
;Colors34=Red
;Signature34=Smoke (0229)
Movement34=WARMAGE_MINDSTEALER_DJINN
Ability34=0
Reward34=0
MyCard34=0

;Enemy35=Dragon Lord
;Gender35=f
;BaseLife35=20
Unknown35=2
;Class35=BOSS
;Colors35=Red
;Signature35=Keldon Warlord (0135)
Movement35=0
;Ability and Reward don't do anything for Class BOSS or ARZAKON.
Ability35=HAVE_CARD_80
Reward35=CARD_OF_CHOICE
MyCard35=Dragon Engine

;Enemy36=Tusk Guardian
;Gender36=m
;BaseLife36=10
Unknown36=2
;Class36=LORD
;Colors36=Green, White
;Signature36=Elephant Graveyard (0414)
Movement36=0
Ability36=0
Reward36=WIN_MY_CARD
MyCard36=Ivory Tower

;Enemy37=Sedge Beast
;Gender37=m
;BaseLife37=10
Unknown37=2
;Class37=TROLL
;Colors37=Black, Red
;Signature37=Sedge Troll (0219)
Movement37=SEDGE_ELEMENTALIST
Ability37=0
Reward37=EXTRA_GOLD
MyCard37=0

;Enemy38=Ape Lord
;Gender38=m
;BaseLife38=14
Unknown38=2
;Class38=LORD
;Colors38=Red, Green
;Signature38=Kird Ape (0437)
Movement38=APE_CENTAURSHAMAN
Ability38=0
Reward38=MY_CARD_IN_NEXT_DUEL
MyCard38=Birds of Paradise

;Enemy39=Centaur Shaman
;Gender39=m
;BaseLife39=14
Unknown39=3
;Class39=DRAGON
;Colors39=Green, Black
;Signature39=Paralyze (0179)
Movement39=CENTAURSHAMAN, APE_CENTAURSHAMAN
Ability39=0
Reward39=RANDOM_CARD_NEXT_DUEL
MyCard39=0

;Enemy40=Winged Stallion
;Gender40=m
;BaseLife40=14
Unknown40=2
;Class40=FLYER
;Colors40=White, Blue
;Signature40=Island Sanctuary (0127)
Movement40=FLYING
Ability40=
Reward40=TELEPORTED
MyCard40=0

;Enemy41=Fungus Master
;Gender41=m
;BaseLife41=10
Unknown41=3
;Class41=MALE_WIZ
;Colors41=Green, Blue
;Signature41=Fungusaur (0094)
Movement41=0
Ability41=HAVE_CARD
Reward41=MY_CARD_IN_NEXT_DUEL
MyCard41=Wall of Wood

;Enemy42=Centaur Warchief
;Gender42=m
;BaseLife42=14
Unknown42=2
;Class42=DRAGON
;Colors42=Red, White
;Signature42=Windseeker Centaur (0897)
Movement42=WARCHIEF, MOUNTED
Ability42=
Reward42=WIN_MY_CARD
MyCard42=Swords to Plowshares

;Enemy43=Mind Stealer
;Gender43=m
;BaseLife43=10
Unknown43=3
;Class43=LORD
;Colors43=Blue, Black
;Signature43=Word of Command (0289)
Movement43=WARMAGE_MINDSTEALER_DJINN
Ability43=MIND_CONTROL
Reward43=DUPLICATE_CARD
MyCard43=0

;Enemy44=Lord of Fate
;Gender44=m
;BaseLife44=14
Unknown44=2
;Class44=KNIGHT
;Colors44=White, Black
;Signature44=Balance (0010)
Movement44=MOUNTED
Ability44=HAVE_CARD
Reward44=CARD_OF_CHOICE
MyCard44=Black Knight

;Enemy45=Elementalist
;Gender45=f
;BaseLife45=10
Unknown45=3
;Class45=FEMALE_WIZ
;Colors45=Blue, Red
;Signature45=Bird Maiden (0399)
Movement45=MERFOLK_ELEMENTALIST, SEDGE_ELEMENTALIST
Ability45=0
Reward45=DUPLICATE_CARD
MyCard45=0

;Enemy46=Aga Galneer
;Gender46=m
;BaseLife46=13
Unknown46=2
;Class46=DJINN
;Colors46=Black
;Signature46=Juz\'am Djinn (0434)
Movement46=WARMAGE_MINDSTEALER_DJINN
Ability46=0
Reward46=WIN_MY_CARD
;MyCard46=Jun\'un Efreet
MyCard46=433

;Enemy47=Alt-A-Kesh
;Gender47=m
;BaseLife47=13
Unknown47=2
;Class47=DJINN
;Colors47=Green
;Signature47=Ifh-B\'iff Efreet (0426)
Movement47=WARMAGE_MINDSTEALER_DJINN
Ability47=0
Reward47=WIN_MY_CARD
MyCard47=Bottle of Suleiman

;Enemy48=Queltosh
;Gender48=m
;BaseLife48=13
Unknown48=2
;Class48=DJINN
;Colors48=Red
;Signature48=Mijae Djinn (0442)
Movement48=WARMAGE_MINDSTEALER_DJINN
Ability48=0
Reward48=WIN_MY_CARD
MyCard48=Tempest Efreet

;Enemy49=Saltrem Tor
;Gender49=m
;BaseLife49=13
Unknown49=2
;Class49=DJINN
;Colors49=Blue
;Signature49=Serendib Efreet (0456)
Movement49=WARMAGE_MINDSTEALER_DJINN
Ability49=0
Reward49=WIN_MY_CARD
MyCard49=Mahamoti Djinn

;Enemy50=Mandurang
;Gender50=m
;BaseLife50=18
Unknown50=2
;Class50=DRAGON
;Colors50=Black
;Signature50=Catalog (0990)
Movement50=MOUNTED
Ability50=HAVE_CARD_40
Reward50=WIN_MY_CARD
MyCard50=Necropolis of Azar

;Enemy51=Whim
;Gender51=m
;BaseLife51=18
Unknown51=2
;Class51=DRAGON
;Colors51=Blue
;Signature51=Chastise (0991)
Movement51=MOUNTED
Ability51=TRY_THIS_DECK
Reward51=WIN_MY_CARD
MyCard51=Power Struggle

;Enemy52=Prismat
;Gender52=m
;BaseLife52=18
Unknown52=2
;Class52=DRAGON
;Colors52=Green
;Signature52=Choke (0992)
Movement52=MOUNTED
Ability52=HAVE_CARD
Reward52=WIN_MY_CARD
MyCard52=Faerie Dragon

;Enemy53=Dracur
;Gender53=m
;BaseLife53=18
Unknown53=2
;Class53=DRAGON
;Colors53=Red
;Signature53=Cinder Wall (0993)
Movement53=MOUNTED
Ability53=HAVE_CARD
Reward53=WIN_MY_CARD
MyCard53=Goblin Polka Band

;Enemy54=Kiska-Ra
;Gender54=m
;BaseLife54=18
Unknown54=2
;Class54=DRAGON
;Colors54=White
;Signature54=Coastal Hornclaw (0994)
Movement54=MOUNTED
Ability54=HAVE_CARD_80
Reward54=WIN_MY_CARD
MyCard54=Pandora's Box

;Enemy55=Arzakon
;Gender55=m
;BaseLife55=100
Unknown55=3
;Class55=ARZAKON
;Colors55=Colorless
;Signature55=Concentrate (0999)
Movement55=0
;Ability and Reward don't do anything for Class BOSS or ARZAKON.
Ability55=HAVE_CARD_80
Reward55=0
MyCard55=Celestial Prism
3 | Open
Ali from Cairo
Ancestral Recall
Balance
Berserk
Black Lotus
Braingeyser
Candelabra of Tawnos
Copy Artifact
Cyclopean Tomb
Demonic Tutor
Feldon's Cane
Forcefield
Fork
Ivory Tower
Library of Alexandria
Mind Twist
Mishra's Workshop
Mox Emerald
Mox Jet
Mox Pearl
Mox Ruby
Mox Sapphire
Regrowth
Sol Ring
Time Vault
Time Walk
Timetwister
Wheel of Fortune
4 | Open
Not trivially, and not unless you're comfortable with a hex editor. The relevant structs are 72 bytes long, start around position 0x192608 in Shandalar.exe, and look like:
Code: Select all
00192600  41 54 00 00 00 00 00 00  0c 53 77 61 6d 70 00 00  |AT.......Swamp..|
00192610  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00192620  00 00 00 00 00 00 00 00  00 00 00 00 ef 00 00 00  |................|
00192630  01 0d 02 00 00 00 00 00  00 00 00 00 e0 9e 42 00  |..............B.|
00192640  00 00 00 00 00 10 00 00  ff 01 01 00 00 00 00 00  |................|
00192650  0e 49 73 6c 61 6e 64 00  00 00 00 00 00 00 00 00  |.Island.........|
00192660  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00192670  00 00 00 00 7e 00 00 00  01 0d 04 00 00 00 00 00  |....~...........|
00192680  00 00 00 00 06 9f 42 00  00 00 00 00 00 10 00 00  |......B.........|
00192690  ff 01 01 00 00 00 00 00  0d 46 6f 72 65 73 74 00  |.........Forest.|
Each struct starts at the position immediately before the card name. The value indicating a card is a dungeon treasure is bit 0x01 of the value at (struct start)+61 bytes.

So, for example, Mishra's Workshop's entry looks like:
Code: Select all
001987a0  e4 4d 69 73 68 72 61 57  72 6b 73 68 70 00 00 00  |.MishraWrkshp...|
001987b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
001987c0  00 00 00 00 fe 01 00 00  01 ff 40 00 00 00 00 00  |..........@.....|
001987d0  00 00 00 00 48 d5 42 00  00 00 00 00 00 15 00 00  |....H.B.........|
001987e0  ff 01 20 00 02 00 00 00  f7 53 74 72 69 70 20 4d  |.. ......Strip M|
The bit making it a dungeon treasure is in the 0x15 in the second-last line of that; change it to 0x14 and it's no longer a dungeon treasure. (The other bits set in that value are 0x04=increase rarity by 1 and price by half, and 0x10=has an activateable mana ability.)

If you're trying to make dungeon treasures show up normally, you may have to also change a few nearby bits, too:If you're trying to make other cards into dungeon treasures, too, there's a limit of 30 in the unedited game (since there's ten dungeons, with at most three cards each). Setting the bit on more will cause an infinite loop at the start of a new game.

Hex-editing enemy values is more involved. They're 140-byte structs starting at 0x18fe94. Each starts with a 10-byte article ("a " or "an "), a 50-byte singular name, and a 50-byte plural name before proceeding to the values listed in 1/2 above, give or take some padding.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: A few questions I had

Postby sylviapsichosis » 28 Mar 2019, 15:39

If you're trying to make dungeon treasures show up normally, you may have to also change a few nearby bits, too:[list][*]0x08 of the same byte (+61) prevents a card from showing up in the cardpicker, starting decks, lair bonus cards, and enemy ante. It's not set on any dungeon treasures, though - they're all either from Arabian Nights (Bottle of Suleiman, Diamond Valley, Elephant Graveyard, Ifh-Biff Efreet, Junun Efreet, Juzam Djinn, King Suleiman, Mijae Djinn, Serendib Djinn, Serendib Efreet, Ydwen Efreet)
Does that mean some of these cards are completely unobtainable in the game? I know a couple are, but in particular I was trying to find Juzam Djinn and just assumed I never got it as a dungeon treasure.
sylviapsichosis
 
Posts: 4
Joined: 23 Mar 2019, 02:49
Has thanked: 3 times
Been thanked: 0 time

Re: A few questions I had

Postby Korath » 28 Mar 2019, 17:04

They can still be generated for sale in towns, can be picked from enemies' decks as tribute (in the "Duel anyway?" menu), and from the "pick a card from my deck" enemy reward.

Also, looking at things a bit closer - I was relying on my ancient notes being correct above - that bit only prevents cards from being generated in the Ruined Tower and Loremaster's Tower lairs, not all of them; and it doesn't prevent cards from being offered as ante, just not from being given as free bonus cards above and beyond the initial ante.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times


Return to Shandalar

Who is online

Users browsing this forum: Bing [Bot] and 27 guests


Who is online

In total there are 28 users online :: 1 registered, 0 hidden and 27 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: Bing [Bot] and 27 guests

Login Form