diff --git a/includes/dbtypes/spell.class.php b/includes/dbtypes/spell.class.php index 032f0e6b..9ab553a8 100644 --- a/includes/dbtypes/spell.class.php +++ b/includes/dbtypes/spell.class.php @@ -623,6 +623,10 @@ class SpellList extends DBTypeList $pps = $this->curTpl['powerPerSecond']; $pcpl = $this->curTpl['powerCostPerLevel']; + // some potion effects have this set, but it's not displayed by client (or enforced by core) + if ($pt == POWER_HAPPINESS) + return ''; + if ($pt == POWER_RAGE || $pt == POWER_RUNIC_POWER) $pc /= 10;