Hello,
in my current project I have the ability to read DB2s via m_ID column. This is great for spell DB then i can pass the record pointer to functions and get ranges,casttime, charges ect. However, I am currently stuck with accessing the SpellEffect.db2. It has a spellId column and I have attempted to read every row and store a dictionary of id,spellEffectRecord but it is very very slow and massive (MaxIndex = 370xxx).
I noticed that in legion the removed all the calls to GetRecord<SpellEffectRec>. SO i started looking at SpellGetEffect(s) function based on the older mac IDB from 6.0. However I have not been able to get it to work. Below are the live addresses for the function I was looking at.
1403E5B20 GetSpellEffect
140421510 GetSpellEffects ( this seems to return some sort of array that gets looped through?)
Just wondering if anyone has a function or quick way to access spellId => SpellEffectID.
Thanks,
Ace