mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.198.4
This commit is contained in:
@@ -2352,6 +2352,11 @@ class CreatureBuilder extends Builder {
|
||||
type: "weekly",
|
||||
mode: "frequency",
|
||||
},
|
||||
{
|
||||
display: "\uD835\uDC65/month (/each) spells",
|
||||
type: "monthly",
|
||||
mode: "frequency",
|
||||
},
|
||||
{
|
||||
display: "\uD835\uDC65/year (/each) spells",
|
||||
type: "yearly",
|
||||
@@ -2439,6 +2444,7 @@ class CreatureBuilder extends Builder {
|
||||
if (trait.daily) handleFrequency("daily");
|
||||
if (trait.rest) handleFrequency("rest");
|
||||
if (trait.weekly) handleFrequency("weekly");
|
||||
if (trait.monthly) handleFrequency("monthly");
|
||||
if (trait.yearly) handleFrequency("yearly");
|
||||
if (trait.spells) {
|
||||
Object.entries(trait.spells).forEach(([k, v]) => {
|
||||
@@ -2539,6 +2545,7 @@ class CreatureBuilder extends Builder {
|
||||
case "daily": return "/Day";
|
||||
case "rest": return "/Rest";
|
||||
case "weekly": return "/Week";
|
||||
case "monthly": return "/Month";
|
||||
case "yearly": return "/Year";
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user