mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
Fix campfire randomization to be in line with H3
Campfire can now have one of 3 rewards layouts: - 400 gold + 4 of random non-gold resource - 500 gold + 5 of random non-gold resource - 600 gold + 6 of random non-gold resource This should make it match H3 logic
This commit is contained in:
@@ -26,17 +26,47 @@
|
||||
"selectMode" : "selectFirst",
|
||||
"rewards" : [
|
||||
{
|
||||
"appearChance" : { "min" : 0, "max" : 33 },
|
||||
"message" : 23,
|
||||
"removeObject" : true,
|
||||
"resources" : [
|
||||
{
|
||||
"anyOf" : [ "wood", "ore", "mercury", "gems", "sulfur", "crystal" ],
|
||||
"min" : 4,
|
||||
"max" : 6
|
||||
"amount" : 4
|
||||
},
|
||||
{
|
||||
"type" : "gold",
|
||||
"amount" : [ 400, 500, 600 ]
|
||||
"amount" : 400
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"appearChance" : { "min" : 33, "max" : 66 },
|
||||
"message" : 23,
|
||||
"removeObject" : true,
|
||||
"resources" : [
|
||||
{
|
||||
"anyOf" : [ "wood", "ore", "mercury", "gems", "sulfur", "crystal" ],
|
||||
"amount" : 5
|
||||
},
|
||||
{
|
||||
"type" : "gold",
|
||||
"amount" : 500
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"appearChance" : { "min" : 66, "max" : 100 },
|
||||
"message" : 23,
|
||||
"removeObject" : true,
|
||||
"resources" : [
|
||||
{
|
||||
"anyOf" : [ "wood", "ore", "mercury", "gems", "sulfur", "crystal" ],
|
||||
"amount" : 6
|
||||
},
|
||||
{
|
||||
"type" : "gold",
|
||||
"amount" : 600
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user