habitica/website/common/locales/en/spells.json
Helcostr 6d28029a5f
Clientside: Block low lvl for high lvl spells - Fixes #12904 (#13135)
* Add lvl block on high lvl spell, add i18n for not enough gold/lvl for spell.
Add space for invalidClass because of simple lint

* Wrap i18n in the msgbox funcion

* Remove trailing whitespace (as seen in a comment weblate)

* Block level first

Change blocking order so that the spell is prevented based on lvl, then mana, then gold

* Strip notEnoughLvl pop-up error (and i18n):
Button is already visually distinguishable

* fix lint (mv comment, return null)
2021-04-29 14:10:10 -05:00

79 lines
4 KiB
JSON

{
"spellWizardFireballText": "Burst of Flames",
"spellWizardFireballNotes": "You summon XP and deal fiery damage to Bosses! (Based on: INT)",
"spellWizardMPHealText": "Ethereal Surge",
"spellWizardMPHealNotes": "You sacrifice Mana so the rest of your Party, except Mages, gains MP! (Based on: INT)",
"spellWizardEarthText": "Earthquake",
"spellWizardEarthNotes": "Your mental power shakes the earth and buffs your Party's Intelligence! (Based on: Unbuffed INT)",
"spellWizardFrostText": "Chilling Frost",
"spellWizardFrostNotes": "With one cast, ice freezes all your streaks so they won't reset to zero tomorrow!",
"spellWarriorSmashText": "Brutal Smash",
"spellWarriorSmashNotes": "You make a task more blue/less red and deal extra damage to Bosses! (Based on: STR)",
"spellWarriorDefensiveStanceText": "Defensive Stance",
"spellWarriorDefensiveStanceNotes": "You crouch low and gain a buff to Constitution! (Based on: Unbuffed CON)",
"spellWarriorValorousPresenceText": "Valorous Presence",
"spellWarriorValorousPresenceNotes": "Your boldness buffs your whole Party's Strength! (Based on: Unbuffed STR)",
"spellWarriorIntimidateText": "Intimidating Gaze",
"spellWarriorIntimidateNotes": "Your fierce stare buffs your whole Party's Constitution! (Based on: Unbuffed CON)",
"spellRoguePickPocketText": "Pickpocket",
"spellRoguePickPocketNotes": "You rob a nearby task and gain gold! (Based on: PER)",
"spellRogueBackStabText": "Backstab",
"spellRogueBackStabNotes": "You betray a foolish task and gain gold and XP! (Based on: STR)",
"spellRogueToolsOfTradeText": "Tools of the Trade",
"spellRogueToolsOfTradeNotes": "Your tricky talents buff your whole Party's Perception! (Based on: Unbuffed PER)",
"spellRogueStealthText": "Stealth",
"spellRogueStealthNotes": "With each cast, a few of your undone Dailies won't cause damage tonight. Their streaks and colors won't change. (Based on: PER)",
"spellRogueStealthDaliesAvoided": "<%= originalText %> Number of dailies that will be avoided: <%= number %>.",
"spellHealerHealText": "Healing Light",
"spellHealerHealNotes": "Shining light restores your health! (Based on: CON and INT)",
"spellHealerBrightnessText": "Searing Brightness",
"spellHealerBrightnessNotes": "A burst of light makes your tasks more blue/less red! (Based on: INT)",
"spellHealerProtectAuraText": "Protective Aura",
"spellHealerProtectAuraNotes": "You shield your Party by buffing their Constitution! (Based on: Unbuffed CON)",
"spellHealerHealAllText": "Blessing",
"spellHealerHealAllNotes": "Your soothing spell restores your whole Party's health! (Based on: CON and INT)",
"spellSpecialSnowballAuraText": "Snowball",
"spellSpecialSnowballAuraNotes": "Turn a friend into a frosty snowman!",
"spellSpecialSaltText": "Salt",
"spellSpecialSaltNotes": "Reverse the spell that made you a snowman.",
"spellSpecialSpookySparklesText": "Spooky Sparkles",
"spellSpecialSpookySparklesNotes": "Turn your friend into a transparent pal!",
"spellSpecialOpaquePotionText": "Opaque Potion",
"spellSpecialOpaquePotionNotes": "Reverse the spell that made you transparent.",
"spellSpecialShinySeedText": "Shiny Seed",
"spellSpecialShinySeedNotes": "Turn a friend into a joyous flower!",
"spellSpecialPetalFreePotionText": "Petal-Free Potion",
"spellSpecialPetalFreePotionNotes": "Reverse the spell that made you a flower.",
"spellSpecialSeafoamText": "Seafoam",
"spellSpecialSeafoamNotes": "Turn a friend into a sea creature!",
"spellSpecialSandText": "Sand",
"spellSpecialSandNotes": "Reverse the spell that made you a sea star.",
"partyNotFound": "Party not found",
"targetIdUUID": "\"targetId\" must be a valid User ID.",
"challengeTasksNoCast": "Casting a skill on challenge tasks is not allowed.",
"groupTasksNoCast": "Casting a skill on group tasks is not allowed.",
"spellNotOwned": "You don't own this skill.",
"spellLevelTooHigh": "You must be level <%= level %> to use this skill.",
"spellAlreadyCast": "Using this skill won't have any additional effect."
}