Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brute solo scenario monsters should have their level lower by one #240

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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