This commit is contained in:
TheGiddyLimit
2024-01-10 17:30:40 +00:00
parent e3bf75f42a
commit 5ffd4acdb4
26 changed files with 473 additions and 322 deletions

View File

@@ -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";
}
})();