mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Items/Block
* fixed formating of xml-export * fixed handling of block value (can have multiple sources per item (itemMods, spell, set individually) and is then displayed separately in tooltip, but summed for calculations)
This commit is contained in:
@@ -49,6 +49,10 @@ class ItemStatSetup extends ItemList
|
||||
{
|
||||
$this->itemMods[$this->id] = [];
|
||||
|
||||
// also occurs as seperate field (gets summed in calculation but not in tooltip)
|
||||
if ($_ = $this->getField('block'))
|
||||
$this->itemMods[$this->id][ITEM_MOD_BLOCK_VALUE] = $_;
|
||||
|
||||
// convert itemMods to stats
|
||||
for ($h = 1; $h <= 10; $h++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user