mirror of
https://github.com/HabitRPG/habitica.git
synced 2026-04-26 19:59:12 -05:00
Remove Ethereal Surge notification (#10368)
This commit is contained in:
committed by
Matteo Pagliazzi
parent
8438cf0578
commit
12034161b7
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user