This project is read-only.

New Mastery system

Topics: Rawr.Base
May 15, 2010 at 8:09 PM

With the release of Nihilum's spreadsheet detailing the initial Mastery-per-talent calculations, and the approximate lvl 80 and 81 mastery-per-percentage calculations over at, I am currently implementing a first run through on adding the mastery system into RAWR. This is just the bare minimum at this point (I'm not even going to attempt how to implement each mastery tier at this point). I currently have two questions. One is should I hard code the mastery-per-talent into each module or should I put is somewhere else (such as statconversion.cs. Secondly is what fuction in RAWR tells how many points are associated with each tree? If there isn't one availabe, which file would be the most likely place to have one?

May 16, 2010 at 9:00 AM

Mage model already has mastery support in (but not visible for normal users). For talents there is currently no easy way to get number of points. You can either go based on talent attributes as is done in the talent picker (slow) or if you know number of talents in each talent tree you can do something like this

            int[] talentData = MageTalents.Data;
            int arcane = 0;
            for (int i = 0; i <= 29; i++)
                arcane += talentData[i];
            int fire = 0;
            for (int i = 30; i <= 57; i++)
                fire += talentData[i];
            int frost = 0;
            for (int i = 58; i <= 85; i++)
                frost += talentData[i];