Files

17 lines
4.5 KiB
C++

// Generated by ops/spell-log-sources/gen.py from Octo client Spell.dbc; do not edit.
#pragma once
#include <array>
#include <cstdint>
#include <utility>
namespace gateway::spell_log_sources {
// {spell, school index} of every SPELL_AURA_DAMAGE_SHIELD (15) aura, sorted by spell.
inline constexpr std::array<std::pair<uint32_t,uint8_t>,109> DamageShields{{
{114,4},{467,3},{767,5},{782,3},{1075,3},{1116,5},{2780,6},{2947,2},{3260,0},{3742,3},{4436,2},{4524,0},{5280,3},{6134,4},{6135,4},{6813,0},{6960,3},{7273,3},{7739,2},{8316,2},{8317,2},{8393,3},{8486,6},{8487,6},{8488,6},{8914,3},{9464,3},{9756,3},{9910,3},{11770,2},{11771,2},{11841,3},{12040,5},{12896,2},{13578,2},{14104,0},{15279,3},{15438,6},{16560,2},{16610,0},{16877,3},{17014,0},{17154,3},{17275,2},{20570,2},{20620,5},{20886,6},{20887,6},{20888,6},{20889,6},{21075,6},{21142,2},{21335,3},{21337,3},{21857,2},{21991,3},{22128,3},{22351,3},{22417,5},{22436,2},{22696,3},{22781,0},{23266,2},{23272,0},{25059,0},{25640,3},{25777,3},{26168,3},{26666,0},{46763,1},{46764,1},{46765,1},{46766,1},{46767,1},{46768,2},{46769,2},{46770,2},{46771,2},{46772,2},{46773,3},{46774,3},{46775,3},{46776,3},{46777,3},{46778,4},{46779,4},{46780,4},{46781,4},{46782,4},{46783,5},{46784,5},{46785,5},{46786,5},{46787,5},{47375,2},{51221,0},{51285,0},{52692,5},{70012,4},{70118,5},{70234,2},{70419,4},{70420,4},{70599,2},{70600,2},{70857,2},{70858,2},{70960,2},{71769,2}}};
// Spells with SPELL_EFFECT_DISPEL (38), sorted.
inline constexpr std::array<uint32_t,103> Dispels{{
128,370,475,526,527,528,552,988,1152,2782,2783,2870,2893,3137,3591,3592,4526,4987,5238,5240,5333,6237,7108,7932,7933,7968,8012,8060,8168,8171,8320,8913,8946,9999,10591,10592,10723,10807,10828,10832,10872,14129,14134,14253,15090,15729,16472,16537,16908,17012,17085,17201,17550,17729,17730,19476,19492,19505,19731,19734,19736,19801,20410,20789,21076,21954,23002,23258,23396,23786,23859,23922,23923,23924,23925,24022,24406,25756,25808,26677,27609,27626,28133,29462,29463,30281,47382,49012,51694,52315,70396,70575,70747,70748,70752,70753,71877,71902,71903,71904,71905,72432,72582}};
// #136: next-melee-swing spells (Heroic Strike, Cleave, Raptor Strike, Maul...); their GO arrives at the swing, sorted.
inline constexpr std::array<uint32_t,413> NextSwing{{
76,78,87,91,96,278,279,284,285,748,749,751,752,753,845,1608,1609,1628,1629,1635,1645,1648,1663,1664,1665,1708,1709,1731,1732,1770,1794,1795,1796,1797,1798,1812,1813,1814,1815,1918,1920,1921,1922,2110,2427,2428,2429,2430,2431,2497,2498,2499,2500,2501,2502,2503,2504,2505,2506,2627,2628,2629,2630,2677,2679,2680,2681,2682,2697,2699,2700,2701,2702,2707,2709,2710,2711,2712,2717,2719,2720,2721,2722,2727,2728,2729,2730,2731,2922,2924,2925,2973,3130,3145,3147,3148,3150,3151,3237,3242,3247,3252,3261,3427,3446,3466,3542,3551,3597,3603,3604,3609,3743,4101,4102,4150,4159,4166,4240,4281,4282,5165,5271,5337,5422,5532,5708,5918,6016,6154,6174,6175,6186,6409,6531,6561,6564,6566,6568,6570,6595,6713,6747,6748,6807,6808,6809,6927,6942,7140,7145,7159,7160,7342,7369,7394,7891,7938,8255,8355,8374,8379,8391,8646,8972,9080,9745,9791,9880,9881,10851,11427,11564,11565,11566,11567,11608,11609,11837,11976,11998,12057,12097,12161,12166,12461,12538,12734,13013,13446,13584,13953,14102,14112,14260,14261,14262,14263,14264,14265,14266,14516,15248,15284,15496,15579,15580,15582,15584,15608,15613,15617,15618,15621,15622,15623,15652,15657,15663,15754,15793,16044,16096,16169,16172,16495,16553,17143,17156,17170,17230,17284,17445,17470,17685,18144,18368,18819,19319,19632,19642,19644,19730,19777,19983,20539,20569,20605,20666,20677,20684,20691,20751,22416,22427,22540,22574,22591,23919,24016,24333,24337,24671,25174,25286,25710,25712,26350,27794,28437,28913,29915,33038,33398,33467,41828,46315,48006,51225,51226,51288,51294,51295,57077,70007,70008,70028,70029,70084,70129,70130,70143,70144,70145,70146,70159,70189,70190,70191,70192,70197,70198,70199,70200,70201,70203,70204,70205,70206,70207,70208,70209,70210,70211,70212,70213,70214,70215,70216,70217,70235,70260,70264,70276,70281,70282,70296,70309,70319,70327,70334,70335,70403,70413,70423,70485,70512,70523,70525,70590,70606,70662,70755,70804,70822,70823,70824,70825,70836,70837,70871,70892,70904,70906,70908,71004,71028,71047,71062,71075,71076,71077,71078,71079,71080,71081,71110,71163,71176,71195,71196,71198,71206,71209,71210,71220,71235,71256,71352,71361,71387,71400,71414,71481,71499,71547,71551,71553,71561,71565,71647,71651,71659,71660,71664,71667,71804,71805,71806,72007,72011,72039,72040,72098,72177,72237,72310,72418,72442,72507,72522,72524,72525}};
}