Arf my mistake, it's obvious ... I need more coffee I guess ^^
Thanks again for this patch (as we're still in BC, it's gonna be harder for us to reach the shadow resist cap to defeat Sharaz without Priest + Paladin + Druid resist ^^)
Nice job, I hope this will be implemented in master
Checking your code, I saw this:
1-I think that "break;" is not needed here, it's redundant because of the return right before it.
2-By just checking the spell family name, what happens with judgment of wisdom? (I mean the one which gives mana to 10 members in the raid, same as SP & Hunters).
Test SilverIce's patch, works great in many cases, but I succeed falling under the maps in Nagrand
BTW it might be improve when the map is not flat, means instead of moving few yards further, shouldn't it moves you 20yards further but at the good Z point?
with like:
while (finalZ < map_Z_20yards_further)
finalZ += 0.1f
It's just a suggestion, I don't know if it's bliwzzliek or not.
Oh and ... Thank you Silver (and all the other patch makers), works great