updated packed database .. also some minor fixes

This commit is contained in:
Sarjuuk
2013-05-16 19:44:19 +02:00
parent 86387f7707
commit 4238395921
4 changed files with 12 additions and 12 deletions

View File

@@ -1621,18 +1621,18 @@ class Util
}
// EnchantmentTypes
// 0 => (dnd stuff; ignore)
// 1 => proc spell from ObjectX (amountX == procChance?; ignore)
// 2 => +AmountX damage
// 3 => Spells form ObjectX (amountX == procChance?)
// 4 => +AmountX resistance for ObjectX School
// 5 => +AmountX for Statistic by type of ObjectX
// 6 => Rockbiter AmountX as Damage (ignore)
// 7 => Engineering gadgets
// 8 => Extra Sockets AmountX as socketCount (ignore)
// 0 => TYPE_NONE dnd stuff; (ignore)
// 1 => TYPE_COMBAT_SPELL proc spell from ObjectX (amountX == procChance?; ignore)
// 2 => TYPE_DAMAGE +AmountX damage
// 3 => TYPE_EQUIP_SPELL Spells from ObjectX (amountX == procChance?)
// 4 => TYPE_RESISTANCE +AmountX resistance for ObjectX School
// 5 => TYPE_STAT +AmountX for Statistic by type of ObjectX
// 6 => TYPE_TOTEM Rockbiter AmountX as Damage (ignore)
// 7 => TYPE_USE_SPELL Engineering gadgets
// 8 => TYPE_PRISMATIC_SOCKET Extra Sockets AmountX as socketCount (ignore)
public static function parseItemEnchantment($enchant, $amountOverride = null)
{
if (!$enchant || empty($enchant))
if (empty($enchant))
return false;
$jsonStats = [];