mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
updated packed database .. also some minor fixes
This commit is contained in:
@@ -352,7 +352,7 @@ class SpellListFilter extends Filter
|
||||
case 2: // costPct [op] [int]
|
||||
return 's.powerCostPercent '.$this->int2Op($cr[1]).' '.intVal($cr[2]);
|
||||
case 3: // requires FocusGO [y|n]
|
||||
return $this->int2Bool($cr[1]) ? 's.spellFocusObject > 0' : 's.spellfocus = 0';
|
||||
return $this->int2Bool($cr[1]) ? 's.spellFocusObject > 0' : 's.spellFocusObject = 0';
|
||||
case 4: // trainingcost [op] [int]
|
||||
return 's.trainingcost '.$this->int2Op($cr[1]).' '.intVal($cr[2]);
|
||||
case 5: // Profession Specialitation [y|n]
|
||||
|
||||
@@ -1400,7 +1400,7 @@ class SpellList extends BaseType
|
||||
if ($tools || $reagents || $reqItems || $desc)
|
||||
$x .= "<br />";
|
||||
|
||||
$x .= $createItem;
|
||||
$x .= '<br />'.$createItem;
|
||||
}
|
||||
|
||||
if ($reqWrapper2)
|
||||
|
||||
@@ -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 = [];
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user