World Boss 2018 (Server) (#9995)

* feat(world-boss): barebones API

* fix(world): use Express respond for better JSON

* fix(api): respond with code 200

* feat(content): canonical Dysheartener desc and Rage

* fix(world-boss): enable progress

* WIP(test): world state API

* WIP(test): refactor world boss setup

* WIP(test): better expectations

* fix(test): more expect polishing

* feat(event): server side World Boss

* fix(strings): accidental deletion

* fix(content): include encouragement after Rage

* refactor(world-boss): address comments
This commit is contained in:
Sabe Jones
2018-02-13 19:21:39 -06:00
committed by GitHub
parent fa06628361
commit d69e7e66ee
12 changed files with 194 additions and 5 deletions

View File

@@ -3099,6 +3099,92 @@ let quests = {
unlock: t('questBadgerUnlockText'),
},
},
dysheartener: {
text: t('questDysheartenerText'),
notes: t('questDysheartenerNotes'),
completion: t('questDysheartenerCompletion'),
completionChat: t('questDysheartenerCompletionChat'),
value: 0,
canBuy () {
return false;
},
category: 'world',
boss: {
name: t('questDysheartenerText'),
hp: 17000000,
str: 1.25,
def: 1,
rage: {
title: t('questDysheartenerBossRageTitle'),
description: t('questDysheartenerBossRageDescription'),
value: 500000,
seasonalShop: t('questDysheartenerBossRageSeasonal'),
market: t('questDysheartenerBossRageMarket'),
quests: t('questDysheartenerBossRageQuests'),
},
},
colors: {
dark: '#410F2A',
medium: '#5C1130',
light: '#931F4D',
extralight: '#DC4069',
},
drop: {
items: [
{
type: 'pets',
key: 'Hippogriff-Hopeful',
text: t('questDysheartenerDropHippogriffPet'),
}, {
type: 'mounts',
key: 'Hippogriff-Hopeful',
text: t('questDysheartenerDropHippogriffMount'),
}, {
type: 'food',
key: 'Cake_Base',
text: t('foodCakeBase'),
}, {
type: 'food',
key: 'Candy_White',
text: t('foodCandyWhite'),
}, {
type: 'food',
key: 'Cake_Desert',
text: t('foodCakeDesert'),
}, {
type: 'food',
key: 'Candy_Red',
text: t('foodCandyRed'),
}, {
type: 'food',
key: 'Cake_Shade',
text: t('foodCakeShade'),
}, {
type: 'food',
key: 'Candy_Skeleton',
text: t('foodCandySkeleton'),
}, {
type: 'food',
key: 'Cake_Zombie',
text: t('foodCakeZombie'),
}, {
type: 'food',
key: 'Candy_CottonCandyPink',
text: t('foodCandyCottonCandyPink'),
}, {
type: 'food',
key: 'Candy_CottonCandyBlue',
text: t('foodCandyCottonCandyBlue'),
}, {
type: 'food',
key: 'Cake_Golden',
text: t('foodCakeGolden'),
},
],
gp: 0,
exp: 0,
},
},
};
each(quests, (v, key) => {