From 6958efcd0fbd14201991b97d077be286561af3e3 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Fri, 2 Feb 2024 05:19:23 +0100 Subject: [PATCH] Items/Tooltip * do not show cooldown for passive onEquip spells --- includes/types/item.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/types/item.class.php b/includes/types/item.class.php index ab263bcf..e384da24 100644 --- a/includes/types/item.class.php +++ b/includes/types/item.class.php @@ -956,7 +956,7 @@ class ItemList extends BaseType $cd = $this->curTpl['spellCategoryCooldown'.$j]; $extra = []; - if ($cd >= 5000) + if ($cd >= 5000 && $this->curTpl['spellTrigger'.$j] != SPELL_TRIGGER_EQUIP) { $pt = Util::parseTime($cd); if (count(array_filter($pt)) == 1) // simple time: use simple method