mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Refactor armoire content to be cached by day
This commit is contained in:
@@ -7,7 +7,7 @@ import { armor as wizardArmor } from './sets/wizard';
|
||||
|
||||
import { armor as specialArmor } from './sets/special';
|
||||
import { armor as mysteryArmor } from './sets/mystery';
|
||||
import { armor as armoireArmor } from './sets/armoire';
|
||||
import armoire from './sets/armoire';
|
||||
|
||||
const armor = {
|
||||
base: baseArmor,
|
||||
@@ -19,7 +19,9 @@ const armor = {
|
||||
|
||||
special: specialArmor,
|
||||
mystery: mysteryArmor,
|
||||
armoire: armoireArmor,
|
||||
get armoire () {
|
||||
return armoire.armor;
|
||||
},
|
||||
};
|
||||
|
||||
export default armor;
|
||||
|
||||
Reference in New Issue
Block a user