Skip to content

Commit

Permalink
fix: 🐛 Include non-influenced base types in trade filter (fixes #9)
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Nov 15, 2021
1 parent 958115a commit 04565a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions filters/trade/trade.yaml.j2
Expand Up @@ -226,7 +226,7 @@ rules:
BaseType:
- Portal Scroll
- Scroll of Wisdom
StackSize: {'>=': 5}
StackSize: {'>=': 10}
actions:
{{ macros.set_colors_from_colormap(options.colormaps.base_types, 20, 20) }}
MinimapIcon: -1
Expand Down Expand Up @@ -1199,11 +1199,11 @@ rules:
{{ macros.multi_base_type_by_quantile(
ctx_key="base_types",
thresholds=options.thresholds.base_types,
query="num_influences == 1",
query="num_influences <= 1",
conditions={"Rarity": {"<": "Unique"}},
groups=["level_required", "influences", "percentile"],
tags=["base_types", "gear"],
tts_phrase="influenced base",
tts_phrase="base",
) }}

{%- set garbage_color = options.colormaps.base_types.pick(1, 20) -%}
Expand Down

0 comments on commit 04565a8

Please sign in to comment.