mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
Remove Ethereal Surge notification (#10368)
This commit is contained in:
parent
8438cf0578
commit
12034161b7
2 changed files with 0 additions and 18 deletions
|
|
@ -133,23 +133,6 @@ export default {
|
|||
|
||||
|
||||
this.markdown(msg); // @TODO: mardown directive?
|
||||
|
||||
// If using mpheal and there are other mages in the party, show extra notification
|
||||
if (type === 'party' && spell.key === 'mpheal') {
|
||||
// Counting mages
|
||||
let magesCount = 0;
|
||||
for (let i = 0; i < target.length; i++) {
|
||||
if (target[i].stats.class === 'wizard') {
|
||||
magesCount++;
|
||||
}
|
||||
}
|
||||
// If there are mages, show message telling that the mpheal don't work on other mages
|
||||
// The count must be bigger than 1 because the user casting the spell is a mage
|
||||
if (magesCount > 1) {
|
||||
this.markdown(this.$t('spellWizardNoEthOnMage'));
|
||||
}
|
||||
}
|
||||
|
||||
if (!beforeQuestProgress) return;
|
||||
let questProgress = this.questProgress() - beforeQuestProgress;
|
||||
if (questProgress > 0) {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
"spellWizardMPHealText": "Ethereal Surge",
|
||||
"spellWizardMPHealNotes": "You sacrifice Mana so the rest of your Party, except Mages, gains MP! (Based on: INT)",
|
||||
"spellWizardNoEthOnMage": "Your Skill backfires when mixed with another's magic. Only non-Mages gain MP.",
|
||||
|
||||
"spellWizardEarthText": "Earthquake",
|
||||
"spellWizardEarthNotes": "Your mental power shakes the earth and buffs your Party's Intelligence! (Based on: Unbuffed INT)",
|
||||
|
|
|
|||
Loading…
Reference in a new issue