Quest Mode Tweaks
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
5 posts
• Page 1 of 1
Quest Mode Tweaks
by friarsol » 21 Sep 2010, 16:06
I submitted some code yesterday that would allow the user to tweak some quest mode values without needing to recompile the jar file (since the file is read at runtime)
The file is here: /res/quest/quest.preferences
This should also make it easier for us to figure out good default values for when the difficulty should increase. Previously, the easier modes were more quickly moving up to better AI decks. Which is the reverse from how it should happen. Easy should have lots of time on easy decks before it upgrades. Normal a little less. Etc.
Poke around with it just in case I messed something up, but it should be pretty straightforward.
The file is here: /res/quest/quest.preferences
- Code: Select all
difficultyString=Easy,Normal,Hard,Very Hard
# Num of Wins for each Difficulty to gain a Booster, Rank, Duel vs Tougher AI Decks
winsForBooster=1,1,2,2
winsForRankIncrease=3,4,5,6
winsForMediumAI=10,9,8,7
winsForHardAI=20,18,16,14
# When starting a quest this is how much of each type you'll start with. Plus your starting Credits.
startingBasicLand=20
startingSnowBasicLand=20
startingCommons=45,40,40,40
startingUncommons=20,15,15,15
startingRares=10,10,10,10
startingCredits=250
# When winning a booster pack, this is what you'll expect to see in a pack.
boosterPackCommon=7
boosterPackUncommon=3
boosterPackRare=1
# Match rewards that are used by the quest system
matchRewardBase=10
matchRewardTotalWins=0.3
matchRewardNoLosses=10
matchRewardAltWinBonus=100
macthRewardWinOnFirstTurn=1500
matchRewardWinByTurnFive=250
matchRewardWinByTurnTen=50
matchRewardWinByTurnFifteen=5
matchRewardMullToZero=500
This should also make it easier for us to figure out good default values for when the difficulty should increase. Previously, the easier modes were more quickly moving up to better AI decks. Which is the reverse from how it should happen. Easy should have lots of time on easy decks before it upgrades. Normal a little less. Etc.
Poke around with it just in case I messed something up, but it should be pretty straightforward.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Quest Mode Tweaks
by Jaedayr » 22 Sep 2010, 16:10
I like this idea. Currently I am still trying to learn a lot of new cards and it would be more fun if I weren't facing some of the nasty opponents so soon in my adventure.
Re: Quest Mode Tweaks
by Huggybaby » 22 Sep 2010, 23:25
Nice change friarsol.
BTW, there's a typo in "macthRewardWinOnFirstTurn=1500" just in case that was pasted from your code.
BTW, there's a typo in "macthRewardWinOnFirstTurn=1500" just in case that was pasted from your code.
-

Huggybaby - Administrator
- Posts: 3229
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 754 times
- Been thanked: 601 times
Re: Quest Mode Tweaks
by friarsol » 23 Sep 2010, 01:34
Good catch. Luckily, it was typo'd in both places so it hadn't affected anything, but it's fixed now.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Quest Mode Tweaks
by zerker2000 » 23 Sep 2010, 01:35
"And Steve and Bill did sign a pact of covenance; and from that day, MSWord was mac'th; and it did work most terribly."

O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.
--Eladamri, the Seed of Freyalise
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.
--Eladamri, the Seed of Freyalise
- zerker2000
- Programmer
- Posts: 569
- Joined: 09 May 2009, 21:40
- Location: South Pasadena, CA
- Has thanked: 0 time
- Been thanked: 0 time
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests