Pages/Spell

* display category cooldown in table
This commit is contained in:
Sarjuuk
2017-04-23 22:55:40 +02:00
parent 4316d3ad40
commit a59fd45076

View File

@@ -285,6 +285,8 @@ class SpellPage extends GenericPage
if (($_ = $this->subject->getField('recoveryTime')) && $_ > 0)
$this->cooldown = Util::formatTime($_);
else if (($_ = $this->subject->getField('recoveryCategory')) && $_ > 0)
$this->cooldown = Util::formatTime($_);
if (($_ = $this->subject->getField('duration')) && $_ > 0)
$this->duration = Util::formatTime($_);