Spells/Fixup

* format effect cooldown as time
This commit is contained in:
Sarjuuk
2025-02-28 14:36:49 +01:00
parent fa33467610
commit 4c6d93881c

View File

@@ -1755,7 +1755,7 @@ class SpellPage extends GenericPage
{ {
$_footer['proc'] = $procData['chance'] < 0 ? Lang::spell('ppm', [Lang::nf(-$procData['chance'], 1)]) : Lang::spell('procChance') . Lang::main('colon') . $procData['chance'] . '%'; $_footer['proc'] = $procData['chance'] < 0 ? Lang::spell('ppm', [Lang::nf(-$procData['chance'], 1)]) : Lang::spell('procChance') . Lang::main('colon') . $procData['chance'] . '%';
if ($procData['cooldown']) if ($procData['cooldown'])
$_footer['procCD'] = Lang::game('cooldown', [$procData['cooldown']]); $_footer['procCD'] = Lang::game('cooldown', [Util::formatTime($procData['cooldown'], true)]);
} }
// Effect Name // Effect Name