mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Refactor armoire content to be cached by day
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user