mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Filters:
- make offset optional, when converting list to mask Items: - fixed display of inventory type for robes and ranged weapons Spells: - parsing: $charLevel and $interactive are now properties of spell. - parsing: fixed durations, passing the time-unit seperately to allow for evaluation of the actual value - parsing: fixed gender-specific formating [ >male/female< to <male/female>] - parsing: usage of is_numeric() instead of (float) as 0 is a fucking valid numeric (caused some formulas to not be evaluated *grrr*) - parsing: lastValue-references now skip to the next previous \d instead of being stopped by random \w (like time units) - implemented forgotten display of runes for spellCost - fixed castTimes for most hunter shots (they are -1000 for some reason) - fixed display of required stances (sometimes they are not actually required but show, when you are _allowed_ to use a spell in certain forms) - improved formating of tooltips-js (no visual change) ListViews: - pass '_truncated' separately. there are nough cases in which 'note' gets send without truncated results misc changes here and there
This commit is contained in:
@@ -132,7 +132,7 @@ if (!defined('AOWOW_REVISION'))
|
||||
if ($pop['glyphEffect'])
|
||||
$glyphSpells[] = $pop['glyphEffect'];
|
||||
|
||||
$glyphSpells = new SpellList(array(['id', $glyphSpells]));
|
||||
$glyphSpells = new SpellList(array(['s.id', $glyphSpells]));
|
||||
|
||||
foreach ($locales as $lId)
|
||||
{
|
||||
|
||||
@@ -113,7 +113,7 @@ if (!defined('AOWOW_REVISION'))
|
||||
// costy and locale-independant -> cache
|
||||
if (!isset($jsonBonus[$set['spell'.$i]]))
|
||||
{
|
||||
$bSpell = new SpellList(array(['id', $set['spell'.$i]]));
|
||||
$bSpell = new SpellList(array(['s.id', $set['spell'.$i]]));
|
||||
$jsonBonus[$set['spell'.$i]] = $bSpell->getStatGain();
|
||||
}
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ if (!defined('AOWOW_REVISION'))
|
||||
|
||||
for ($k = 0; $k <= ($m - 1); $k++)
|
||||
{
|
||||
$tSpell = new SpellList(array(['id', $talents[$j]['rank'.($k + 1)]]));
|
||||
$tSpell = new SpellList(array(['s.id', $talents[$j]['rank'.($k + 1)]]));
|
||||
$d[] = $tSpell->parseText();
|
||||
$s[] = $talents[$j]['rank'.($k + 1)];
|
||||
|
||||
|
||||
@@ -274,7 +274,7 @@ for ($i = 1; $i < 9; $i++)
|
||||
if ($set['spellId'.$i] > 0)
|
||||
$spells[] = (int)$set['spellId'.$i];
|
||||
|
||||
$bonusSpells = new SpellList(array(['id', $spells]));
|
||||
$bonusSpells = new SpellList(array(['s.id', $spells]));
|
||||
|
||||
$mods = $bonusSpells->getStatGain();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user