Skip to content

Commit

Permalink
Merge pull request #240 from hatal175/solo_brute
Browse files Browse the repository at this point in the history
Brute solo scenario monsters should have their level lower by one
  • Loading branch information
Tarmslitaren authored Nov 8, 2024
2 parents d4a6145 + a805b3f commit a18eee1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion frosthaven_assistant/assets/data/editions/Solo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,15 @@
},
"scenarios": {
"#1 Brute: Return to the Black Barrow": {
"monsters": ["Bandit Guard", "Bandit Archer", "Living Bones" ]
"monsters": ["Bandit Guard", "Bandit Archer", "Living Bones" ],
"special": [
{
"type": "LevelAdjust",
"name": "Enemies",
"level": -1,
"note": "All enemies: -1 levels"
}
]
},
"#2 Tinkerer: An Unfortunate Intrusion": {
"monsters": ["City Guard (Ally)", "Vermling Scout", "Vermling Shaman" ],
Expand Down
2 changes: 1 addition & 1 deletion frosthaven_assistant/lib/Resource/game_methods.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ class GameMethods {
int levelAdjust = 0;
Set<String> alliedMonsters = {};
for (var rule in specialRules) {
if (rule.name == monster) {
if (rule.name == monster || rule.name == "Enemies") {
if (rule.type == "LevelAdjust") {
levelAdjust = rule.level;
}
Expand Down

0 comments on commit a18eee1

Please sign in to comment.