Items/Heirlooms

* damage range of melee weapons is noe 20% and ranged weapons 30%
  * removed localized number format from item-tooltips. this broke damage recalculation
User/Weightscales
  * fixed managing weightscales by moving ! around
This commit is contained in:
Sarjuuk
2015-07-21 21:08:15 +02:00
parent 8fa83eab64
commit 3d08de51e1
3 changed files with 21 additions and 17 deletions

View File

@@ -1067,7 +1067,8 @@ class Util
else
$c = 2 / 52;
$result = Lang::nf($val / Util::$gtCombatRatings[$type] / $c, 2);
// do not use localized number format here!
$result = number_format($val / Util::$gtCombatRatings[$type] / $c, 2);
}
if (!in_array($type, array(ITEM_MOD_DEFENSE_SKILL_RATING, ITEM_MOD_EXPERTISE_RATING)))