Update, Getting Closer, GuildMaster Still Poking me
ok, so I copied the Tome of Defensive Discipline to another new item.
I Figured out the how the classes column works, it's pretty cleaver and it's based on .. Binary!
Value= 1 | Binary that's 00000001 Position 1 is 1, Warrior is Class 1
Value= 16 | Binary that's 00010000 Position 5 is 1, Shadownight is Class 5
Value=17 | Binary that 00010001 Position 1 and 5 ergo Shad/War
To be sure I set the classes value to 65535 (all classes)
I updated my spells_us.txt file To Reflect Pal(1) (yes im testing giving disc at level 1) *** this is purely cosmetic
The Tome carries ScrollEffect 4499 (which I interpret to Spell 4499)
So I opened up table Spell 4499 and Set Column Class_3 to 1 Class_1 = Warr and that value is 55 (when wars got def) Class_2 is clearic that value is 255, No Def for Clerics! and as I said I changed class_3 to 1 Paladin Disc at 1!
I couldnt find any other ties to character classes but my Guildmaster says
your class cannot learn this.
So like Hay said it's buried in the source code, or the scroll effect 4499 has it's own constraints but there is no scroll table, so Im pretty sure it's linked to the spell.
Unless someone solves this before I give up, my next try is to create a new disc, using holyforge as the template, but setting the same spell id .. we'll seee!
|