mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 02:02:19 +00:00
feat(world-boss): Dry run
This commit is contained in:
parent
35068481c4
commit
6d6f0f597b
10 changed files with 64 additions and 19 deletions
|
|
@ -69,6 +69,7 @@ module.exports = function(grunt) {
|
|||
{expand: true, cwd: '', src: 'common/dist/sprites/spritesmith*.png', dest: 'website/build/'},
|
||||
{expand: true, cwd: '', src: 'common/img/sprites/backer-only/*.gif', dest: 'website/build/'},
|
||||
{expand: true, cwd: '', src: 'common/img/sprites/npc_ian.gif', dest: 'website/build/'},
|
||||
{expand: true, cwd: '', src: 'common/img/sprites/quest_burnout.gif', dest: 'website/build/'},
|
||||
{expand: true, cwd: 'website/public/', src: 'bower_components/bootstrap/dist/fonts/*', dest: 'website/build/'}
|
||||
]
|
||||
}
|
||||
|
|
@ -87,6 +88,7 @@ module.exports = function(grunt) {
|
|||
'website/build/common/dist/sprites/*.png',
|
||||
'website/build/common/img/sprites/backer-only/*.gif',
|
||||
'website/build/common/img/sprites/npc_ian.gif',
|
||||
'website/build/common/img/sprites/quest_burnout.gif',
|
||||
'website/build/bower_components/bootstrap/dist/fonts/*'
|
||||
],
|
||||
dest: 'website/build/*.css'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
/*[class*='Pet_'] {
|
||||
margin-left: 1.25em;
|
||||
}*/
|
||||
|
||||
/* Comment out for holiday events
|
||||
.npc_ian {
|
||||
background: url("/common/img/sprites/npc_ian.gif") no-repeat;
|
||||
|
|
@ -9,6 +5,12 @@
|
|||
height: 135px;
|
||||
} */
|
||||
|
||||
.quest_burnout {
|
||||
background: url("/common/img/sprites/quest_burnout.gif") no-repeat;
|
||||
width: 219px;
|
||||
height: 249px;
|
||||
}
|
||||
|
||||
.Gems {
|
||||
display:inline-block;
|
||||
margin-right:5px;
|
||||
|
|
|
|||
2
common/dist/sprites/habitrpg-shared.css
vendored
2
common/dist/sprites/habitrpg-shared.css
vendored
File diff suppressed because one or more lines are too long
BIN
common/img/sprites/quest_burnout.gif
Normal file
BIN
common/img/sprites/quest_burnout.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
|
|
@ -27,13 +27,14 @@
|
|||
"begin": "Begin",
|
||||
"bossHP": "Boss Health",
|
||||
"bossStrength": "Boss Strength",
|
||||
"rage": "Rage",
|
||||
"collect": "Collect",
|
||||
"collected": "Collected",
|
||||
"collectionItems": "<%= number %> <%= items %>",
|
||||
"itemsToCollect": "Items to Collect",
|
||||
"bossDmg1": "Each completed Daily and To-Do and each positive Habit hurts the boss. Hurt it more with redder tasks or Brutal Smash and Burst of Flames. The boss will deal damage to every quest participant for every Daily you've missed (multiplied by the boss's Strength) in addition to your regular damage, so keep your party healthy by completing your Dailies! <strong>All damage to and from a boss is tallied on cron (your day roll-over).</strong>",
|
||||
"bossDmg2": "Only participants will fight the boss and share in the quest loot.",
|
||||
"tavernBossInfo": "To hurt a world boss, complete your Dailies and To-Dos. Higher task damage means higher boss damage (completing reds, Mage spells, Warrior attacks, etc). For each Daily you've missed (multiplied by the boss's Strength), the boss's Rage will increase. Once his Rage reaches max, something bad will happen - so complete your Dailies! <strong>All damage to and from a boss is tallied on cron (your day roll-over).</strong>",
|
||||
"tavernBossInfo": "To hurt a world boss, complete your Dailies and To-Dos. Higher task damage means higher boss damage (completing reds, Mage spells, Warrior attacks, etc). For each Daily you've missed (multiplied by the boss's Strength), the boss's Rage will increase. Once its Rage reaches max, something bad will happen - so complete your Dailies! <strong>All damage to and from a boss is tallied on cron (your day roll-over).</strong>",
|
||||
"bossColl1": "To collect items, do your positive tasks. Quest items drop just like normal items; however, you won't see the drops until the next day, then everything you've found will be tallied up and contributed to the pile.",
|
||||
"bossColl2": "Only participants can collect items and share in the quest loot.",
|
||||
"abort": "Abort",
|
||||
|
|
|
|||
|
|
@ -291,5 +291,14 @@
|
|||
"questHorseCompletion": "It takes all your skill, but finally the horse stamps a couple of hooves and nuzzles you in the shoulder before allowing you to mount. You ride briefly but proudly around the Tavern grounds while your friends cheer. The stranger breaks into a broad grin.\n\"I can see that was no idle boast! Your determination is truly impressive. Take these eggs to raise horses of your own, and perhaps we'll meet again one day.\" You take the eggs, the stranger tips his hat... and vanishes.",
|
||||
"questHorseBoss": "Night-Mare",
|
||||
"questHorseDropHorseEgg": "Horse (Egg)",
|
||||
"questHorseUnlockText": "Unlocks purchasable Horse eggs in the Market"
|
||||
"questHorseUnlockText": "Unlocks purchasable Horse eggs in the Market",
|
||||
|
||||
"questBurnoutText": "Placeholder",
|
||||
"questBurnoutNotes": "Placeholder",
|
||||
"questBurnoutCompletion": "Placeholder",
|
||||
"questBurnoutCompletionChat": "Placeholder",
|
||||
"questBurnoutBoss": "Burnout",
|
||||
"questBurnoutBossRageTitle": "Placeholder",
|
||||
"questBurnoutBossRageDescription": "Placeholder",
|
||||
"questBurnoutDesperation": "Placeholder"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1325,6 +1325,35 @@ api.quests =
|
|||
gp: 0
|
||||
exp: 0
|
||||
|
||||
burnout:
|
||||
text: t("questBurnoutText")
|
||||
notes: t("questBurnoutNotes")
|
||||
completion: t("questBurnoutCompletion")
|
||||
completionChat: t("questBurnoutCompletionChat")
|
||||
value: 0
|
||||
canBuy: false
|
||||
category: 'world'
|
||||
boss:
|
||||
name: t("questBurnoutBoss")
|
||||
hp: 5000000
|
||||
str: 1
|
||||
def: 1
|
||||
rage:
|
||||
title: t("questBurnoutBossRageTitle")
|
||||
description: t("questBurnoutBossRageDescription")
|
||||
value: 5000000
|
||||
healing: .3
|
||||
desperation:
|
||||
threshold: 500000
|
||||
str: 3.5
|
||||
def: 2
|
||||
text:t('questBurnoutDesperation')
|
||||
drop:
|
||||
items: [
|
||||
]
|
||||
gp: 0
|
||||
exp: 0
|
||||
|
||||
evilsanta:
|
||||
canBuy:false
|
||||
text: t('questEvilSantaText') # title of the quest (eg, Deep into Vice's Layer)
|
||||
|
|
|
|||
|
|
@ -8,17 +8,17 @@ else
|
|||
.meter-label(tooltip=env.t('bossHP'))
|
||||
span.glyphicon.glyphicon-heart
|
||||
.meter.health
|
||||
.bar(ng-style='{width: Shared.percent(progress.hp, boss.hp) + "%"}')
|
||||
.bar(ng-style='{width: Shared.percent(group.quest.progress.hp, Content.quests[group.quest.key].boss.hp) + "%"}')
|
||||
span.meter-text.value
|
||||
| {{Math.ceil(progress.hp) | roundLargeNumbers}}
|
||||
| / {{::boss.hp | roundLargeNumbers}}
|
||||
div(ng-if='boss.rage')
|
||||
.meter-label(tooltip='Rage')
|
||||
| {{Math.ceil(group.quest.progress.hp) | roundLargeNumbers}}
|
||||
| / {{::Content.quests[group.quest.key].boss.hp | roundLargeNumbers}}
|
||||
div(ng-if='Content.quests[group.quest.key].boss.rage')
|
||||
.meter-label(tooltip=env.t('rage'))
|
||||
span.glyphicon.glyphicon-fire
|
||||
.meter.mana(popover="{{::boss.rage.description()}}",
|
||||
popover-title="{{::boss.rage.title()}}",
|
||||
.meter.mana(popover="{{::Content.quests[group.quest.key].boss.rage.description()}}",
|
||||
popover-title="{{::Content.quests[group.quest.key].boss.rage.title()}}",
|
||||
popover-trigger='mouseenter', popover-placement='bottom')
|
||||
.bar(ng-style='{width: Shared.percent(progress.rage, boss.rage.value) + "%"}')
|
||||
.bar(ng-style='{width: Shared.percent(group.quest.progress.rage, Content.quests[group.quest.key].boss.rage.value) + "%"}')
|
||||
span.meter-text.value
|
||||
| {{Math.ceil(progress.rage) | roundLargeNumbers}}
|
||||
| / {{::boss.rage.value | roundLargeNumbers}}
|
||||
| {{Math.ceil(group.quest.progress.rage) | roundLargeNumbers}}
|
||||
| / {{::Content.quests[group.quest.key].boss.rage.value | roundLargeNumbers}}
|
||||
|
|
|
|||
|
|
@ -9,12 +9,14 @@ div(ng-if='group.quest.active===true')
|
|||
include ./collectionStats
|
||||
|
||||
div(ng-bind-html='::Content.quests[group.quest.key].notes()')
|
||||
unless tavern
|
||||
quest-rewards(key='{{::group.quest.key}}')
|
||||
|
||||
tab(heading=env.t('questParticipants'))
|
||||
+participants(true)
|
||||
|
||||
if tavern
|
||||
include ./bossStats
|
||||
|
||||
hr
|
||||
|
||||
include ./ianQuestInfo
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
.row
|
||||
.col-md-4
|
||||
|
||||
+boss(true, false)
|
||||
// +boss(true, false)
|
||||
|
||||
table
|
||||
tr
|
||||
|
|
|
|||
Loading…
Reference in a new issue