Forum > Serverside Modding

[Trinity] Yet another spell.dbc spellclassmask request..

<< < (2/3) > >>

Amaroth:
2047 is all classes, as the highest class ID is 11. Or -1 value should work as well, so there's no need to sum masks from different spells, I'd just use this one. Sadly, I have no idea what is which of those masks for :X.

mrxxx:
2047 didn't work but I'll try -1 once I have time

Amaroth:
-1 should work for all masks, or at least a lot of them. -1 is in binary actually written as 1111111111.....111111 (just 1s for full length). So its sort of a hacky way how to write "check all options".

mrxxx:
Yeah it worked! How could I forget -1 :P
Thank you so much for help!

Makpptfox:
Just adding this here but Grymskvll made an awesome and detailed explanation for spellclassmask from spell.dbc here :
http://www.modcraft.io/index.php?topic=10990.msg58481#msg58481

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version