Browse Source

fixes #672

tags/v0.3.2
Big Bad Waffle 5 years ago
parent
commit
4606a835dc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/client/ui/templates/tooltipInfo/tooltipInfo.js

+ 1
- 1
src/client/ui/templates/tooltipInfo/tooltipInfo.js View File

@@ -35,7 +35,7 @@ define([
html = '<font class="color-red">' + html + '</font>';
if (mob.aggro) {
//TODO: Figure this out some other wayh since factions interact in different ways now
if (mob.aggro.faction !== window.player.aggro.faction)
if (mob.aggro.faction === 'hostile')
html += '<br />aggressive';
}
html += '<br />hp: ' + Math.floor(mob.stats.values.hp) + '/' + Math.floor(mob.stats.values.hpMax);


Loading…
Cancel
Save