Forum > Serverside Modding

[QUESTION] [C++]  ArcEmu

(1/3) > >>

Serifaz:
Got the core compiled just trying the new spec system now

Steff:
Could be a bitmask.

1-1
2-2
3-4
4-8
5-16
6-32
7-64
8-128
9-256
10-512
11-1024
12-2048 etc

so 1024 could be 11.

Whats his for. You can store different references in ne colum

et say calss 8 and 11

1024 + 128 = 1152

schlumpf:
As written on the wiki, its indeed a bitmask, referencing ChrClasses.dbc.
http://pxr.dk/wowdev/wiki/index.php?title=TalentTab.dbc

Steff:
Oh i dont take a look at the wiki because i though he did it befor :)

Serifaz:
I did look at it before, but I don't know what bitmask means sorry, still learning X)

also, I think I wasn't clear on this, but how do I specify a new class number for the dbc?

basically I'm trying to work out the specs for the battlemage... I need to specify what class is getting the talents, how do I do that?

:Edit, sorry didn't notice that the numbers are x2 each time, so does that meen I can just double it over again and make the doubled number the class bitmask.?
so to make class 12 would be 1024x1024 =2048?

Navigation

[0] Message Index

[#] Next page

Go to full version