mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Pages/Spell
* display category cooldown in table
This commit is contained in:
@@ -285,6 +285,8 @@ class SpellPage extends GenericPage
|
|||||||
|
|
||||||
if (($_ = $this->subject->getField('recoveryTime')) && $_ > 0)
|
if (($_ = $this->subject->getField('recoveryTime')) && $_ > 0)
|
||||||
$this->cooldown = Util::formatTime($_);
|
$this->cooldown = Util::formatTime($_);
|
||||||
|
else if (($_ = $this->subject->getField('recoveryCategory')) && $_ > 0)
|
||||||
|
$this->cooldown = Util::formatTime($_);
|
||||||
|
|
||||||
if (($_ = $this->subject->getField('duration')) && $_ > 0)
|
if (($_ = $this->subject->getField('duration')) && $_ > 0)
|
||||||
$this->duration = Util::formatTime($_);
|
$this->duration = Util::formatTime($_);
|
||||||
|
|||||||
Reference in New Issue
Block a user