Spells/Misc

* limit chance/ppm precision on spell procs chances
 * do not apply a spells EffectXBonusMultiplier for physical spells
This commit is contained in:
Sarjuuk 2025-10-29 15:45:46 +01:00
parent 441ad38543
commit 3984bd0ae2
8 changed files with 16 additions and 16 deletions

View file

@ -62,9 +62,9 @@ foreach ($this->effects as $i => $e):
echo '<br />';
if ($e['proc'] < 0):
echo Lang::spell('ppm', [Lang::nf(-$e['proc'], 1)]);
echo Lang::spell('ppm', [-$e['proc']]);
elseif ($e['proc'] < 100.0):
echo Lang::spell('procChance').Lang::main('colon').$e['proc'].'%';
echo Lang::spell('procChance', [$e['proc']]);
endif;
endif;