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 { shield as warriorShield } from './sets/warrior';
|
||||
import { shield as wizardShield } from './sets/wizard';
|
||||
|
||||
import { shield as armoireShield } from './sets/armoire';
|
||||
import armoire from './sets/armoire';
|
||||
import { shield as mysteryShield } from './sets/mystery';
|
||||
import { shield as specialShield } from './sets/special';
|
||||
|
||||
@@ -23,7 +23,9 @@ const shield = {
|
||||
|
||||
special: specialShield,
|
||||
mystery: mysteryShield,
|
||||
armoire: armoireShield,
|
||||
get armoire () {
|
||||
return armoire.shield;
|
||||
},
|
||||
};
|
||||
|
||||
export default shield;
|
||||
|
||||
Reference in New Issue
Block a user