improve commenting style

This commit is contained in:
Alys
2016-03-03 13:35:55 +10:00
parent 56e53cc95f
commit c3107ad3fb

View File

@@ -34,8 +34,7 @@ function calculateBonus (value, stat, crit = 1, statScale = 0.5) {
let spells = {}; let spells = {};
spells.wizard = { spells.wizard = {
fireball: { fireball: { // Burst of Flames
// Burst of Flames
text: t('spellWizardFireballText'), text: t('spellWizardFireballText'),
mana: 10, mana: 10,
lvl: 11, lvl: 11,
@@ -52,8 +51,7 @@ spells.wizard = {
user.fns.updateStats(user.stats, req); user.fns.updateStats(user.stats, req);
}, },
}, },
mpheal: { mpheal: { // Ethereal Surge
// Ethereal Surge
text: t('spellWizardMPHealText'), text: t('spellWizardMPHealText'),
mana: 30, mana: 30,
lvl: 12, lvl: 12,
@@ -68,8 +66,7 @@ spells.wizard = {
}); });
}, },
}, },
earth: { earth: { // Earthquake
// Earthquake
text: t('spellWizardEarthText'), text: t('spellWizardEarthText'),
mana: 35, mana: 35,
lvl: 13, lvl: 13,
@@ -83,8 +80,7 @@ spells.wizard = {
}); });
}, },
}, },
frost: { frost: { // Chilling Frost
// Chilling Frost
text: t('spellWizardFrostText'), text: t('spellWizardFrostText'),
mana: 40, mana: 40,
lvl: 14, lvl: 14,
@@ -97,8 +93,7 @@ spells.wizard = {
}; };
spells.warrior = { spells.warrior = {
smash: { smash: { // Brutal Smash
// Brutal Smash
text: t('spellWarriorSmashText'), text: t('spellWarriorSmashText'),
mana: 10, mana: 10,
lvl: 11, lvl: 11,
@@ -111,8 +106,7 @@ spells.warrior = {
user.party.quest.progress.up += diminishingReturns(bonus, 55, 70); user.party.quest.progress.up += diminishingReturns(bonus, 55, 70);
}, },
}, },
defensiveStance: { defensiveStance: { // Defensive Stance
// Defensive Stance
text: t('spellWarriorDefensiveStanceText'), text: t('spellWarriorDefensiveStanceText'),
mana: 25, mana: 25,
lvl: 12, lvl: 12,
@@ -124,8 +118,7 @@ spells.warrior = {
user.stats.buffs.con += Math.ceil(diminishingReturns(bonus, 40, 200)); user.stats.buffs.con += Math.ceil(diminishingReturns(bonus, 40, 200));
}, },
}, },
valorousPresence: { valorousPresence: { // Valorous Prescence
// Valorous Prescence
text: t('spellWarriorValorousPresenceText'), text: t('spellWarriorValorousPresenceText'),
mana: 20, mana: 20,
lvl: 13, lvl: 13,
@@ -139,8 +132,7 @@ spells.warrior = {
}); });
}, },
}, },
intimidate: { intimidate: { // Intimidating Gaze
// Intimidating Gaze
text: t('spellWarriorIntimidateText'), text: t('spellWarriorIntimidateText'),
mana: 15, mana: 15,
lvl: 14, lvl: 14,
@@ -157,8 +149,7 @@ spells.warrior = {
}; };
spells.rogue = { spells.rogue = {
pickPocket: { pickPocket: { // Pickpocket
// Pickpocket
text: t('spellRoguePickPocketText'), text: t('spellRoguePickPocketText'),
mana: 10, mana: 10,
lvl: 11, lvl: 11,
@@ -169,8 +160,7 @@ spells.rogue = {
user.stats.gp += diminishingReturns(bonus, 25, 75); user.stats.gp += diminishingReturns(bonus, 25, 75);
}, },
}, },
backStab: { backStab: { // Backstab
// Backstab
text: t('spellRogueBackStabText'), text: t('spellRogueBackStabText'),
mana: 15, mana: 15,
lvl: 12, lvl: 12,
@@ -185,8 +175,7 @@ spells.rogue = {
user.fns.updateStats(user.stats, req); user.fns.updateStats(user.stats, req);
}, },
}, },
toolsOfTrade: { toolsOfTrade: { // Tools of the Trade
// Tools of the Trade
text: t('spellRogueToolsOfTradeText'), text: t('spellRogueToolsOfTradeText'),
mana: 25, mana: 25,
lvl: 13, lvl: 13,
@@ -200,8 +189,7 @@ spells.rogue = {
}); });
}, },
}, },
stealth: { stealth: { // Stealth
// Stealth
text: t('spellRogueStealthText'), text: t('spellRogueStealthText'),
mana: 45, mana: 45,
lvl: 14, lvl: 14,
@@ -215,8 +203,7 @@ spells.rogue = {
}; };
spells.healer = { spells.healer = {
heal: { heal: { // Healing Light
// Healing Light
text: t('spellHealerHealText'), text: t('spellHealerHealText'),
mana: 15, mana: 15,
lvl: 11, lvl: 11,
@@ -227,8 +214,7 @@ spells.healer = {
if (user.stats.hp > 50) user.stats.hp = 50; if (user.stats.hp > 50) user.stats.hp = 50;
}, },
}, },
brightness: { brightness: { // Searing Brightness
// Searing Brightness
text: t('spellHealerBrightnessText'), text: t('spellHealerBrightnessText'),
mana: 15, mana: 15,
lvl: 12, lvl: 12,
@@ -242,8 +228,7 @@ spells.healer = {
}); });
}, },
}, },
protectAura: { protectAura: { // Protective Aura
// Protective Aura
text: t('spellHealerProtectAuraText'), text: t('spellHealerProtectAuraText'),
mana: 30, mana: 30,
lvl: 13, lvl: 13,
@@ -257,8 +242,7 @@ spells.healer = {
}); });
}, },
}, },
heallAll: { heallAll: { // Blessing
// Blessing
text: t('spellHealerHealAllText'), text: t('spellHealerHealAllText'),
mana: 25, mana: 25,
lvl: 14, lvl: 14,