Skip to content

Commit

Permalink
special counter: add emberlight
Browse files Browse the repository at this point in the history
  • Loading branch information
DominickCobb-rs authored and Adam- committed Aug 6, 2024
1 parent 3e31b10 commit 7ac9d7b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,17 @@ default int darklightThreshold()
return 0;
}

@ConfigItem(
position = 31,
keyName = "emberlightThreshold",
name = "Emberlight",
description = "Threshold for Emberlight (0 to disable)"
)
default int emberlightThreshold()
{
return 0;
}

@ConfigItem(
position = 40,
keyName = "bandosGodswordThreshold",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ else if (target != null && TEKTON_VARIANTS.contains(target.getId()))
return 0;
}
},
SEERCULL("Seercull", new int[]{ItemID.SEERCULL}, true, (d) -> 46 + (d * 5), (c) -> 0);
SEERCULL("Seercull", new int[]{ItemID.SEERCULL}, true, (d) -> 46 + (d * 5), (c) -> 0),
EMBERLIGHT("Emberlight", new int[]{ItemID.EMBERLIGHT}, false, SpecialCounterConfig::emberlightThreshold);

private static final Set<Integer> TEKTON_VARIANTS = ImmutableSet.of(
NpcID.TEKTON,
Expand Down

0 comments on commit 7ac9d7b

Please sign in to comment.