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 Blocken",
'charges' => "%d |4Aufladung:Aufladungen;",
'locked' => "Verschlossen",
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;@&nbsp;Lvl<!--lvl-->%3$d',
'ratingString' => '<!--rtg%%%1$d-->%2$s&nbsp;@&nbsp;Lvl<!--lvl-->%3$d',
'heroic' => "Heroisch",
'startQuest' => "Dieser Gegenstand startet eine Quest",
'bagSlotString' => '%1$d Platz %2$s',

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

View File

@@ -1801,7 +1801,7 @@ $lang = array(
'block' => "%s bloqueo",
'charges' => "%d |4carga:cargas;",
'locked' => "Cerrado",
'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' => "Heroico",
'startQuest' => "Este objeto inicia una misión",
'bagSlotString' => '%2$s de %1$d casillas',

View File

@@ -1801,7 +1801,7 @@ $lang = array(
'block' => "Bloquer : %s",
'charges' => "%d |4charge:charges;",
'locked' => "Verrouillé",
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;au&nbsp;niveau&nbsp;<!--lvl-->%3$d',
'ratingString' => '<!--rtg%%%1$d-->%2$s&nbsp;au&nbsp;niveau&nbsp;<!--lvl-->%3$d',
'heroic' => "Héroïque",
'startQuest' => "Cet objet permet de lancer une quête",
'bagSlotString' => '%2$s %1$d |4emplacement:emplacements;',

View File

@@ -1801,7 +1801,7 @@ $lang = array(
'block' => "Блок: %s",
'charges' => "%d |4заряд:заряда:зарядов;",
'locked' => "Заперто",
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;на&nbsp;<!--lvl-->%3$d&nbsp;ур.',
'ratingString' => '<!--rtg%%%1$d-->%2$s&nbsp;на&nbsp;<!--lvl-->%3$d&nbsp;ур.',
'heroic' => "Героический",
'startQuest' => "Этот предмет позволяет получить задание.",
'bagSlotString' => '%2$s (%1$d |4ячейка:ячейки:ячеек;)',

View File

@@ -1800,7 +1800,7 @@ $lang = array(
'block' => "%d格挡",
'charges' => "%d次",
'locked' => "已锁",
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;@&nbsp;Lvl<!--lvl-->%3$d',
'ratingString' => '<!--rtg%%%1$d-->%2$s&nbsp;@&nbsp;Lvl<!--lvl-->%3$d',
'heroic' => "英雄级别",
'startQuest' => "该物品将触发一个任务",
'bagSlotString' => "%d格%s",