Spells/Filters

* add various filters (mostly attribute flags)
 * resolve additional dbc-data on detail page
 * fixed DK rune indexing
This commit is contained in:
Sarjuuk
2018-06-06 22:26:47 +02:00
parent adc1273b08
commit 04e183f5e3
21 changed files with 2267 additions and 717 deletions

View File

@@ -47,6 +47,7 @@ function spell()
Mechanic,
Attributes, AttributesEx, AttributesEx2, AttributesEx3, AttributesEx4, AttributesEx5, AttributesEx6, AttributesEx7,
Stances, StancesNot,
Targets,
0 AS spellFocus,
CastingTimeIndex,
0 AS recoveryTime, 0 AS recoveryTimeCategory,
@@ -127,8 +128,9 @@ function spell()
0 AS cuFlags,
0 AS typeCat,
stanceMask, stanceMaskNot,
targets,
spellFocus,
IFNULL(sct.baseTime, 0) AS castTime,
IFNULL(sct.baseTime, 0) / 1000 AS castTime,
recoveryTime, recoveryTimeCategory,
startRecoveryTime, startRecoveryCategory,
procChance, procCharges,
@@ -142,7 +144,7 @@ function spell()
powerPerSecond,
powerPerSecondPerLevel,
IFNULL (src.runicPowerGain, 0) AS powerGainRunicPower,
IF (src.id IS NULL, 0, (src.costBlood << 8) | (src.costUnholy << 4) | src.costFrost) AS powerCostRunes,
IF (src.id IS NULL, 0, (src.costFrost << 8) | (src.costUnholy << 4) | src.costBlood) AS powerCostRunes,
rangeId,
stackAmount,
tool1, tool2,