Refactor armoire content to be cached by day

This commit is contained in:
Phillip Thelen
2024-05-15 16:51:09 +02:00
parent 46d164ddd1
commit 4d38880249
17 changed files with 198 additions and 97 deletions

View File

@@ -7,7 +7,7 @@ import { weapon as rogueWeapon } from './sets/rogue';
import { weapon as warriorWeapon } from './sets/warrior';
import { weapon as wizardWeapon } from './sets/wizard';
import { weapon as armoireWeapon } from './sets/armoire';
import armoire from './sets/armoire';
import { weapon as mysteryWeapon } from './sets/mystery';
import { weapon as specialWeapon } from './sets/special';
@@ -21,7 +21,9 @@ const weapon = {
special: specialWeapon,
mystery: mysteryWeapon,
armoire: armoireWeapon,
get armoire () {
return armoire.weapon;
},
};
// Add Two Handed message to all weapons