Stats/CombatRatings

* define magic numbers from combat ratings
 * move forgotten rating base values from Util to Stats
 * fix localized rating strings for item and spell tooltips (expected float, got string)
 * some cleanup in item/spell types to make it more clear when an internal stat is being handled, not an itemMod or combatRating
This commit is contained in:
Sarjuuk
2024-06-18 15:31:52 +02:00
parent e164023b8a
commit 7e0be11323
11 changed files with 280 additions and 224 deletions

View File

@@ -1801,7 +1801,7 @@ $lang = array(
'block' => "%s Block", // SHIELD_BLOCK_TEMPLATE
'charges' => "%d |4Charge:Charges;", // ITEM_SPELL_CHARGES
'locked' => "Locked", // LOCKED
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;@&nbsp;L<!--lvl-->%3$d',
'ratingString' => '<!--rtg%%%1$d-->%2$s&nbsp;@&nbsp;L<!--lvl-->%3$d',
'heroic' => "Heroic", // ITEM_HEROIC
'startQuest' => "This Item Begins a Quest", // ITEM_STARTS_QUEST
'bagSlotString' => "%d Slot %s", // CONTAINER_SLOTS