GetIsClassDefault

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Syntax:

GetIsClassDefault ClassID 

Example:

GetIsClassDefault Acrobat 

Returns true if the player's "default class" matches the specified class.

The "default class" is what the game thinks the player should be, as determined by skill usage while in "character generation" mode (see SetInCharGen).

This classes break down as follows for Combat, Stealth, and Magic skill usage:

Class Combat Magic Stealth
Thief 7
Agent 1 6
Assassin 1 1 5
Acrobat 2 5
Monk 2 1 4
Pilgrim 3 4
Bard 2 2 3
Warrior 7
Barbarian 6 1
Crusader 5 2
Knight 5 1 1
Scout 4 1 2
Archer 4 3
Rogue 3 2 2
Mage 7
Sorcerer 1 6
Healer 5 2
Battlemage 2 5
Witchhunter 1 4 2
Spellsword 3 4
Nightblade 2 3 2


Default class is chosen by greatest one their skills have gone over. So if any one goes over 70%, you get either warrior, mage, or thief.

So if the player has skill increases of 45% combat, 30% magic, and 25% stealth you are a Scout. If it is an area where two pass, the greater one wins. For example, when choosing between Barbarian and Crusader, the % of magic and stealth determine it.