Spells/Fixup
* don't display a power cost of Happiness (4) (looks like bogus dbc data)
This commit is contained in:
parent
8b35421e53
commit
a9a30d3106
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue