mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.200.0
This commit is contained in:
@@ -1908,3 +1908,16 @@ class CreatureSavingThrowTagger extends _PrimaryLegendarySpellsTaggerBase {
|
||||
}
|
||||
|
||||
globalThis.CreatureSavingThrowTagger = CreatureSavingThrowTagger;
|
||||
|
||||
class CreatureSpecialEquipmentTagger {
|
||||
static tryRun (mon) {
|
||||
if (!mon.trait) return;
|
||||
mon.trait = mon.trait
|
||||
.map(ent => {
|
||||
if (!/\bEquipment\b/.test(ent.name || "")) return ent;
|
||||
return ItemTag.tryRun(ent);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
globalThis.CreatureSpecialEquipmentTagger = CreatureSpecialEquipmentTagger;
|
||||
|
||||
Reference in New Issue
Block a user