Jump to content

Spell exclusion flags at 0x1e


Recommended Posts

Updates on the bitfield (testing BGEE:SoD):

 

bit14 - Exclude Trueclass Mages/Sorcerers/Bards

bit21 - Exclude Blades

bit22 - Exclude Jesters

bit23 - Exclude Skalds

bit31 - Exclude Druids/Rangers/Wildmages

 

Both bit14 and bit31 is shared among different classes with class-specific behavior. i.e. setting bit31 for a priest spell excludes druids/rangers from gaining the spell at level up, while setting the same bit for a wizard spell prevents wildmages from learning the spell via scroll ("Your spell school does not permit you to learn this spell."). Bards receive the same message when attempting to learn the spell via scrolls.

 

Here is the original listing:

 

 

bit 0: Exclude Chaotic priests. (BG2 & HoW)
bit 1: Exclude Evil priests. (BG2 & HoW)
bit 2: Exclude Good priests. (BG2 & HoW)
bit 3: Exclude GENeutral priests. (BG2 & HoW)
bit 4: Exclude Lawful priests. (BG2 & HoW)
bit 5: Exclude LCNeutral priests. (BG2 & HoW)
bit 6: Exclude Abjurers
bit 7: Exclude Conjurers
bit 8: Exclude Diviners
bit 9: Exclude Enchanters
bit 10: Exclude Illusionists
bit 11: Exclude Invokers
bit 12: Exclude Necromancers
bit 13: Exclude Transmuters
bit 14: Wild Magic (exclude Generalists) (BG2)
bit 15 - 29: Unused
bit 30: Exclude Cleric/Paladin
bit 31: Exclude Druid/Ranger

 

 

 

EDIT: According to the kit usability fields the complete list would be:

bit 0: Exclude Chaotic priests. (BG2 & HoW)/Berserkers (unused)
bit 1: Exclude Evil priests. (BG2 & HoW)/Wizard Slayers (unused)
bit 2: Exclude Good priests. (BG2 & HoW)/Kensai (unused)
bit 3: Exclude GENeutral priests. (BG2 & HoW)/Cavaliers (does not work)
bit 4: Exclude Lawful priests. (BG2 & HoW)/Inquisitors (does not work)
bit 5: Exclude LCNeutral priests. (BG2 & HoW)/Undead Hunters (does not work)
bit 6: Exclude Abjurers
bit 7: Exclude Conjurers
bit 8: Exclude Diviners
bit 9: Exclude Enchanters
bit 10: Exclude Illusionists
bit 11: Exclude Invokers
bit 12: Exclude Necromancers
bit 13: Exclude Transmuters

bit 14: Exclude Trueclass Mages/Sorcerers/Bards

bit 15: Exclude Ferlains (does not work)

bit 16: Exclude Stalkers (does not work)

bit 17: Exclude Beastmasters (does not work)

bit 18: Exclude Assassins (unused)

bit 19: Exclude Bounty Hunters (unused)

bit 20: Exclude Swashbuckers (unused)

bit 21: Exclude Blades

bit 22: Exclude Jesters

bit 23: Exclude Skalds

bit 24: Exclude Priests of Talos (does not work)

bit 25: Exclude Priests of Helm (does not work)

bit 26: Exclude Priests of Lathander (does not work)

bit 27: Exclude Totemic Druids (does not work)

bit 28: Exclude Shapeshifters (does not work)

bit 29: Exclude Avengers (does not work)

bit 30: Exclude all Clerics/all Paladins/Barbarians (unused)

bit 31: Exclude all Druids/all Rangers/Wildmages

Edited by Galactygon
Link to post

It is simply the kit bits: 1 - berserker, 0x80000000 - wildmage

The first 6 or so bits overlap with alignment. And the last 2 bits overlap with cleric + paladin and druid + ranger

 

So yeah, cleric of talos should be 0x01000000

Just load dltcep's item editor and hover the mouse over the kit usability fields.

Link to post

So, I think more of these fields actually work than is supposed here. In ignoring this post, I had my mod set a mage/thief kit share the Archer (Feralan) exclusion flag; and I set all arcane spells with the ‘illusion’ primary type to be excluded from Archers. Result: my mage/thief kit cannot learn illusion spells from scrolls. So, the field might not work to exclude priest spells from Archers (I gather all rangers are set to get all druid spells at level-up, presumably through a process that bypasses kit exclusion criteria), but the field is still doing something. 

Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...