fix Burst of Flames / fireball skill - was doing too much boss damage; add human-friendly names to skills for ease of searching

This commit is contained in:
Alys
2016-03-03 08:30:49 +10:00
parent 5b012750bb
commit 56e53cc95f

View File

@@ -35,6 +35,7 @@ let spells = {};
spells.wizard = { spells.wizard = {
fireball: { fireball: {
// Burst of Flames
text: t('spellWizardFireballText'), text: t('spellWizardFireballText'),
mana: 10, mana: 10,
lvl: 11, lvl: 11,
@@ -45,13 +46,14 @@ spells.wizard = {
bonus *= Math.ceil((target.value < 0 ? 1 : target.value + 1) * 0.075); bonus *= Math.ceil((target.value < 0 ? 1 : target.value + 1) * 0.075);
user.stats.exp += diminishingReturns(bonus, 75); user.stats.exp += diminishingReturns(bonus, 75);
if (!user.party.quest.progress) user.party.quest.progress = 0; if (!user.party.quest.progress) user.party.quest.progress = 0;
user.party.quest.progress.up += Math.ceil(user._statsComputed.int * 9.1); user.party.quest.progress.up += Math.ceil(user._statsComputed.int * 0.1);
// TODO change, pass req to spell? // TODO change, pass req to spell?
let req = {language: user.preferences.language}; let req = {language: user.preferences.language};
user.fns.updateStats(user.stats, req); user.fns.updateStats(user.stats, req);
}, },
}, },
mpheal: { mpheal: {
// Ethereal Surge
text: t('spellWizardMPHealText'), text: t('spellWizardMPHealText'),
mana: 30, mana: 30,
lvl: 12, lvl: 12,
@@ -67,6 +69,7 @@ spells.wizard = {
}, },
}, },
earth: { earth: {
// Earthquake
text: t('spellWizardEarthText'), text: t('spellWizardEarthText'),
mana: 35, mana: 35,
lvl: 13, lvl: 13,
@@ -81,6 +84,7 @@ spells.wizard = {
}, },
}, },
frost: { frost: {
// Chilling Frost
text: t('spellWizardFrostText'), text: t('spellWizardFrostText'),
mana: 40, mana: 40,
lvl: 14, lvl: 14,
@@ -94,6 +98,7 @@ spells.wizard = {
spells.warrior = { spells.warrior = {
smash: { smash: {
// Brutal Smash
text: t('spellWarriorSmashText'), text: t('spellWarriorSmashText'),
mana: 10, mana: 10,
lvl: 11, lvl: 11,
@@ -107,6 +112,7 @@ spells.warrior = {
}, },
}, },
defensiveStance: { defensiveStance: {
// Defensive Stance
text: t('spellWarriorDefensiveStanceText'), text: t('spellWarriorDefensiveStanceText'),
mana: 25, mana: 25,
lvl: 12, lvl: 12,
@@ -119,6 +125,7 @@ spells.warrior = {
}, },
}, },
valorousPresence: { valorousPresence: {
// Valorous Prescence
text: t('spellWarriorValorousPresenceText'), text: t('spellWarriorValorousPresenceText'),
mana: 20, mana: 20,
lvl: 13, lvl: 13,
@@ -133,6 +140,7 @@ spells.warrior = {
}, },
}, },
intimidate: { intimidate: {
// Intimidating Gaze
text: t('spellWarriorIntimidateText'), text: t('spellWarriorIntimidateText'),
mana: 15, mana: 15,
lvl: 14, lvl: 14,
@@ -150,6 +158,7 @@ spells.warrior = {
spells.rogue = { spells.rogue = {
pickPocket: { pickPocket: {
// Pickpocket
text: t('spellRoguePickPocketText'), text: t('spellRoguePickPocketText'),
mana: 10, mana: 10,
lvl: 11, lvl: 11,
@@ -161,6 +170,7 @@ spells.rogue = {
}, },
}, },
backStab: { backStab: {
// Backstab
text: t('spellRogueBackStabText'), text: t('spellRogueBackStabText'),
mana: 15, mana: 15,
lvl: 12, lvl: 12,
@@ -176,6 +186,7 @@ spells.rogue = {
}, },
}, },
toolsOfTrade: { toolsOfTrade: {
// Tools of the Trade
text: t('spellRogueToolsOfTradeText'), text: t('spellRogueToolsOfTradeText'),
mana: 25, mana: 25,
lvl: 13, lvl: 13,
@@ -190,6 +201,7 @@ spells.rogue = {
}, },
}, },
stealth: { stealth: {
// Stealth
text: t('spellRogueStealthText'), text: t('spellRogueStealthText'),
mana: 45, mana: 45,
lvl: 14, lvl: 14,
@@ -204,6 +216,7 @@ spells.rogue = {
spells.healer = { spells.healer = {
heal: { heal: {
// Healing Light
text: t('spellHealerHealText'), text: t('spellHealerHealText'),
mana: 15, mana: 15,
lvl: 11, lvl: 11,
@@ -215,6 +228,7 @@ spells.healer = {
}, },
}, },
brightness: { brightness: {
// Searing Brightness
text: t('spellHealerBrightnessText'), text: t('spellHealerBrightnessText'),
mana: 15, mana: 15,
lvl: 12, lvl: 12,
@@ -229,6 +243,7 @@ spells.healer = {
}, },
}, },
protectAura: { protectAura: {
// Protective Aura
text: t('spellHealerProtectAuraText'), text: t('spellHealerProtectAuraText'),
mana: 30, mana: 30,
lvl: 13, lvl: 13,
@@ -243,6 +258,7 @@ spells.healer = {
}, },
}, },
heallAll: { heallAll: {
// Blessing
text: t('spellHealerHealAllText'), text: t('spellHealerHealAllText'),
mana: 25, mana: 25,
lvl: 14, lvl: 14,