Skip to content

Commit 8ae8c24

Browse files
committed
Clarify quests prophecy and HP guidance
1 parent b7d8fa5 commit 8ae8c24

6 files changed

Lines changed: 52 additions & 7 deletions

File tree

app/js/i18n/en.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -712,8 +712,12 @@ var LangEN = {
712712
quest_obj_craft: 'Craft items',
713713
quest_obj_duel: 'Win duels',
714714
quest_obj_explore: 'Visit regions',
715+
quest_obj_explore_detail: 'Visit {count} different regions via the world map.',
715716
quest_obj_social: 'Social actions',
717+
quest_obj_bless_detail: 'Bless other mages {count} times via the Chronicle.',
716718
quest_obj_territory: 'Territory actions',
719+
quest_obj_territory_detail: 'Contribute to a siege {count} time(s).',
720+
quest_obj_enchant_detail: 'Enchant {count} item with a rune stone.',
717721

718722
// Quest names
719723
quest_hunt_wisps_title: 'Hunt Ember Wisps',
@@ -726,8 +730,11 @@ var LangEN = {
726730
quest_win_duel_desc: 'Win a duel in the Arena.',
727731
quest_visit_regions_title: 'Traveler',
728732
quest_visit_regions_desc: 'Visit 3 different regions.',
733+
quest_visit_regions_hint: 'Any 3 different regions currently count when you travel through the world map.',
729734
quest_blessings_title: 'Generous Spirit',
730-
quest_blessings_desc: 'Receive 5 Blessings from other mages.',
735+
quest_blessings_desc: 'Bless 5 other mages through the Chronicle.',
736+
quest_blessings_hint: 'Open the Chronicle and press “Bless” on other mages\' entries.',
737+
quest_generic_hint: 'Hint: the full explanation is in the Guide.',
731738
quest_hunt_session_title: 'Seasoned Hunter',
732739
quest_hunt_session_desc: 'Kill 10 creatures in one session.',
733740
quest_enchant_item_title: 'Rune Magic',
@@ -742,6 +749,7 @@ var LangEN = {
742749
quest_daily_hunt_desc: 'Hunt creatures today.',
743750
quest_daily_bless: 'Daily Blessings',
744751
quest_daily_bless_desc: 'Bless other mages today.',
752+
quest_daily_help_text: 'Accept the daily prophecy first, then complete its goal. For blessings, open the Chronicle and bless other mages.',
745753
quest_daily_craft: 'Daily Craft',
746754
quest_daily_craft_desc: 'Craft an item today.',
747755
quest_daily_duel: 'Daily Duel',
@@ -817,7 +825,10 @@ var LangEN = {
817825
help_mana_text: 'Mana is your energy (0–100%). Every spell costs mana. Full regeneration takes ~5 days. Shown as a percentage — 1.00% = 100 basis points on the blockchain.',
818826

819827
help_section_hp: 'HP & Recovery',
820-
help_hp_text: 'HP is your health. It does not regenerate automatically to full — passive regen slowly restores up to 30% of your max HP (+1 HP every 500 blocks, ~4 min). Full recovery: visit the Hunt screen (camp rest) or use a Health Scroll (craftable or dropped by creatures).',
828+
help_hp_text: 'HP is your health. Max HP grows from your level, class, and Resilience: base 100 + level × 10 + RES × 3, then your class multiplier is applied. It does not regenerate automatically to full — passive regen slowly restores up to 30% of your max HP (+1 HP every 500 blocks, ~4 min). Full recovery: visit the Hunt screen (camp rest) or use a Health Scroll (craftable or dropped by creatures).',
829+
830+
help_section_quests: 'Quests & Prophecies',
831+
help_quests_text: 'Regular quests are accepted in the Quests screen. “Traveler” currently means visiting 3 different regions via the world map. The Daily Prophecy must also be accepted first, then completed. If it tells you to bless others, do that in the Chronicle with the “Bless” button on other mages\' entries.',
821832

822833
help_section_hunt: 'Hunting',
823834
help_hunt_text: 'Choose a creature and a spell, then attack. Victory earns XP and loot. Defeat gives 25% XP. Loot is volatile — bank it in a safe zone to keep it.',
@@ -848,6 +859,7 @@ var LangEN = {
848859

849860
help_tip_mana: 'Mana regenerates ~1% per 1.2 hours. Plan your actions accordingly.',
850861
help_tip_armageddon: 'Armageddon Stone: drop from Thornvine Lv5+ or craft at level 10.',
862+
char_hp_explainer: 'HP grows from level, Resilience, and class. Full formula is in the Guide.',
851863
help_close: 'Got it'
852864
};
853865

app/js/i18n/ru.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -712,8 +712,12 @@ var LangRU = {
712712
quest_obj_craft: 'Создать предметов',
713713
quest_obj_duel: 'Выиграть дуэлей',
714714
quest_obj_explore: 'Посетить регионов',
715+
quest_obj_explore_detail: 'Посетите {count} разных региона через карту мира.',
715716
quest_obj_social: 'Социальные действия',
717+
quest_obj_bless_detail: 'Благословите других магов {count} раз через Хронику.',
716718
quest_obj_territory: 'Территориальные действия',
719+
quest_obj_territory_detail: 'Внесите вклад в осаду {count} раз.',
720+
quest_obj_enchant_detail: 'Зачаруйте {count} предмет рунным камнем.',
717721

718722
// Quest names
719723
quest_hunt_wisps_title: 'Охота на Искровых Духов',
@@ -726,8 +730,11 @@ var LangRU = {
726730
quest_win_duel_desc: 'Выиграйте дуэль на Арене.',
727731
quest_visit_regions_title: 'Путешественник',
728732
quest_visit_regions_desc: 'Посетите 3 разных региона.',
733+
quest_visit_regions_hint: 'Сейчас считаются любые 3 разных региона, в которые вы перейдёте через карту мира.',
729734
quest_blessings_title: 'Щедрость Духа',
730-
quest_blessings_desc: 'Получите 5 Благословений от других магов.',
735+
quest_blessings_desc: 'Благословите 5 других магов через Хронику.',
736+
quest_blessings_hint: 'Откройте Хронику и нажимайте «Благословить» у записей других магов.',
737+
quest_generic_hint: 'Подсказка: подробное объяснение есть в разделе Справка.',
731738
quest_hunt_session_title: 'Опытный Охотник',
732739
quest_hunt_session_desc: 'Убейте 10 существ за одну сессию.',
733740
quest_enchant_item_title: 'Магия Рун',
@@ -742,6 +749,7 @@ var LangRU = {
742749
quest_daily_hunt_desc: 'Охотьтесь на существ сегодня.',
743750
quest_daily_bless: 'Ежедневные Благословения',
744751
quest_daily_bless_desc: 'Благословите других магов сегодня.',
752+
quest_daily_help_text: 'Ежедневное пророчество нужно принять, а потом выполнить его цель. Для благословений — откройте Хронику и благословляйте других магов.',
745753
quest_daily_craft: 'Ежедневная Ковка',
746754
quest_daily_craft_desc: 'Создайте предмет сегодня.',
747755
quest_daily_duel: 'Ежедневная Дуэль',
@@ -817,7 +825,10 @@ var LangRU = {
817825
help_mana_text: 'Мана — ваша энергия (0–100%). Каждое заклинание тратит ману. Полное восстановление занимает ~5 дней. Отображается в процентах — 1.00% = 100 базисных пунктов в блокчейне.',
818826

819827
help_section_hp: 'HP и Восстановление',
820-
help_hp_text: 'HP — ваше здоровье. До максимума само не восстанавливается — пассивная регенерация возвращает до 30% от максимума (+1 HP каждые 500 блоков, ~4 мин). Полное восстановление: зайди на экран Охоты (отдых в лагере) или используй Свиток Здоровья (крафтится или падает с существ).',
828+
help_hp_text: 'HP — ваше здоровье. Максимум HP растёт от уровня, класса и Стойкости (Resilience): базово 100 + уровень × 10 + RES × 3, затем применяется модификатор класса. До максимума здоровье само не восстанавливается — пассивная регенерация возвращает до 30% от максимума (+1 HP каждые 500 блоков, ~4 мин). Полное восстановление: зайди на экран Охоты (отдых в лагере) или используй Свиток Здоровья (крафтится или падает с существ).',
829+
830+
help_section_quests: 'Задания и Пророчества',
831+
help_quests_text: 'Обычные задания берутся во вкладке Задания. «Путешественник» сейчас означает: посетить 3 разных региона через карту мира. Ежедневное Пророчество тоже нужно сначала принять, а затем выполнить его цель. Если в цели сказано благословлять — это делается в Хронике кнопкой «Благословить» у записей других магов.',
821832

822833
help_section_hunt: 'Охота',
823834
help_hunt_text: 'Выберите существо и заклинание, затем атакуйте. Победа приносит опыт и добычу. Поражение даёт 25% опыта. Добыча нестабильна — сохраните её в безопасном месте.',
@@ -848,6 +859,7 @@ var LangRU = {
848859

849860
help_tip_mana: 'Мана восстанавливается ~1% за 1.2 часа. Планируйте действия заранее.',
850861
help_tip_armageddon: 'Камень Армагеддона: выпадает с Thornvine Lv5+ или крафтится на 10 уровне.',
862+
char_hp_explainer: 'HP растёт от уровня, Стойкости и класса. Подробная формула — в Справке.',
851863
help_close: 'Понятно'
852864
};
853865

app/js/ui/screens/character.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ var CharacterScreen = (function() {
2929
'<p>' + t('class_' + ch.className) + ' \u2022 ' + t('home_level') + ' ' + ch.level + '</p></div>' +
3030
'</div>' +
3131
ProgressBar.create({label:'HP', value:ch.hp, max:ch.maxHp, color:'#e53935'}) +
32+
'<p class="quest-desc">' + t('char_hp_explainer') + '</p>' +
3233
'<h2>' + t('char_stats') + '</h2>' +
3334
'<div class="stats-list">' +
3435
_statRow(t('char_potency'), totalPot) +

app/js/ui/screens/help.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ var HelpScreen = (function() {
1212
var sections = [
1313
{ key: 'mana', icon: '\u2728' },
1414
{ key: 'hp', icon: '\u2764\uFE0F' },
15+
{ key: 'quests', icon: '\uD83D\uDCDC' },
1516
{ key: 'hunt', icon: '\u2694\uFE0F' },
1617
{ key: 'armageddon', icon: '\u26A0\uFE0F' },
1718
{ key: 'crafting', icon: '\uD83D\uDD28' },

app/js/ui/screens/home.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ var HomeScreen = (function() {
150150
'<div class="prophecy-info">' +
151151
'<h3>' + t('home_daily_prophecy') + '</h3>' +
152152
'<p>' + t(prophecy.titleKey) + '</p>' +
153+
'<p><small>' + t('quest_daily_help_text') + '</small></p>' +
153154
'<span class="prophecy-reward">\u2B50 ' + (prophecy.rewards ? prophecy.rewards.xp : 0) + ' XP</span>' +
154155
'</div>' +
155156
'</div>' +

app/js/ui/screens/quests.js

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,15 @@ var QuestsScreen = (function() {
125125
'<h2>' + t('home_daily_prophecy') + '</h2>' +
126126
'</div>' +
127127
'<h3>' + t(prophecy.titleKey) + '</h3>' +
128-
'<p class="prophecy-desc">' + t(prophecy.descriptionKey) + '</p>';
128+
'<p class="prophecy-desc">' + t(prophecy.descriptionKey) + '</p>' +
129+
'<p class="quest-desc">' + t('quest_daily_help_text') + '</p>';
129130

130131
// Objectives
131132
html += '<div class="prophecy-objectives">';
132133
for (var i = 0; i < prophecy.objectives.length; i++) {
133134
var obj = prophecy.objectives[i];
134135
html += '<div class="quest-objective">' +
135-
t('quest_obj_' + obj.type) + ': ' + obj.required +
136+
_describeObjective(obj, t) +
136137
'</div>';
137138
}
138139
html += '</div>';
@@ -198,7 +199,7 @@ var QuestsScreen = (function() {
198199
var obj = quest.objectives[i];
199200
var pct = Math.floor((obj.current / obj.required) * 100);
200201
html += '<div class="quest-objective">' +
201-
'<span class="obj-label">' + t('quest_obj_' + obj.type) + (obj.target ? ' (' + obj.target + ')' : '') + '</span>' +
202+
'<span class="obj-label">' + _describeObjective(obj, t) + '</span>' +
202203
'<div class="progress-bar" role="progressbar" aria-valuenow="' + obj.current + '" aria-valuemax="' + obj.required + '">' +
203204
'<div class="progress-fill" style="width:' + pct + '%"></div>' +
204205
'<span class="progress-text">' + obj.current + '/' + obj.required + '</span>' +
@@ -230,6 +231,7 @@ var QuestsScreen = (function() {
230231
html += '<h3 class="quest-name">' + t(quest.titleKey) + '</h3>';
231232
html += '</div>';
232233
html += '<p class="quest-desc">' + t(quest.descriptionKey) + '</p>';
234+
html += '<p class="quest-desc">' + _questHint(quest, t) + '</p>';
233235
html += '<div class="quest-req">' + t('home_level') + ' ' + (quest.minLevel || 1) + '+</div>';
234236

235237
// Rewards preview
@@ -312,5 +314,21 @@ var QuestsScreen = (function() {
312314
}
313315
}
314316

317+
function _describeObjective(obj, t) {
318+
if (!obj) return '';
319+
if (obj.type === 'explore') return t('quest_obj_explore_detail', { count: obj.required });
320+
if (obj.type === 'social' && obj.target === 'blessing') return t('quest_obj_bless_detail', { count: obj.required });
321+
if (obj.type === 'territory' && obj.target === 'siege') return t('quest_obj_territory_detail', { count: obj.required });
322+
if (obj.type === 'craft' && obj.target === 'enchant') return t('quest_obj_enchant_detail', { count: obj.required });
323+
return t('quest_obj_' + obj.type) + ': ' + obj.required;
324+
}
325+
326+
function _questHint(quest, t) {
327+
if (!quest) return '';
328+
if (quest.id === 'q_visit_regions') return t('quest_visit_regions_hint');
329+
if (quest.id === 'q_blessings') return t('quest_blessings_hint');
330+
return t('quest_generic_hint');
331+
}
332+
315333
return { render: render };
316334
})();

0 commit comments

Comments
 (0)