Misc/Fixup

* spell:    resolve MiscValue for SPELL_AURA_MOD_INVISIBILITY
 * search:   do not double escape page title
 * profiler: fixed typo, causing shaman spirit weapons to be applied _everywhere_
This commit is contained in:
Sarjuuk
2024-07-05 18:11:21 +02:00
parent 8d885a5a67
commit f21e8045b2
3 changed files with 13 additions and 13 deletions

View File

@@ -1952,12 +1952,13 @@ class SpellPage extends GenericPage
$bar = $effMV;
switch ($effAura)
{
case SPELL_AURA_MOD_STEALTH_DETECT: // Mod Stealth Detection
case SPELL_AURA_MOD_STEALTH_DETECT:
if ($_ = Lang::spell('stealthType', $effMV))
$bar = User::isInGroup(U_GROUP_EMPLOYEE) ? sprintf(Util::$dfnString, 'MiscValue'.Lang::main('colon').$effMV, $_) : $_;
break;
case SPELL_AURA_MOD_INVISIBILITY_DETECT: // Mod Invisibility Detection
case SPELL_AURA_MOD_INVISIBILITY:
case SPELL_AURA_MOD_INVISIBILITY_DETECT:
if ($_ = Lang::spell('invisibilityType', $effMV))
$bar = User::isInGroup(U_GROUP_EMPLOYEE) ? sprintf(Util::$dfnString, 'MiscValue'.Lang::main('colon').$effMV, $_) : $_;