diff --git a/modules/fight-info.js b/modules/fight-info.js index 18cff050f..0e70babb6 100644 --- a/modules/fight-info.js +++ b/modules/fight-info.js @@ -101,26 +101,29 @@ if (cell.name.toLowerCase().indexOf('skele') > -1) // Skeletimp cell { $cell.insertAdjacentHTML('beforeend', " "); - $cell.title = cell.name; + $cell.title = cell.name; //reveal on hover $cell.style.textShadow = '0px 0px 10px #ffffff'; } else if (M["fightinfo"].exotics.indexOf(cell.name) > -1) // Exotic cell { $cell.insertAdjacentHTML('beforeend', " "); - $cell.title = cell.name; + $cell.title = cell.name; //reveal on hover $cell.style.textShadow = '0px 0px 10px #fb753f'; } else if (M["fightinfo"].powerful.indexOf(cell.name) > -1) // Powerful imp { $cell.insertAdjacentHTML('beforeend', " "); - $cell.title = cell.name; + $cell.title = cell.name; //reveal on hover $cell.style.textShadow = '0px 0px 10px #8c0000'; } else if (M["fightinfo"].fast.indexOf(cell.name) > -1) // Fast imp { - $cell.insertAdjacentHTML('beforeend', ""); - $cell.title = cell.name; - $cell.style.textShadow = '0px 0px 10px #ffffff'; + if (game.global.mapsActive && cell.special.length === 0) + $cell.innerHTML = ""; + else if ($cell.title != cell.name) + $cell.insertAdjacentHTML('beforeend', ""); + $cell.title = cell.name; //reveal on hover + //$cell.style.textShadow = '0px 0px 10px #ffffff'; //no glow } //?? Imps are labelled Toxic/Gusty/Frozen but that didin't work either ??