Ego Invocation
(Conjuration/Summoning)

Range:  1 yard
Components:  V, S
Duration:  Permanent
Casting Time:  1 turn
Area of Effect:  One item
Saving Throw:  None

This spell either creates a desired sentient ego of a certain alignment, or alters an existing ego of an item.
If the spell is used to create an ego, the specific personality traits of the object are random, but the conjured alignment is determined as follows:

	D100 Roll	Alignment Shift from Intended
	01-15	One place more lawful
	16-29	One place more chaotic
	30-79	As intended
	80-89	One place more good
	90-99	One place more evil
	00	Random (DM's determination)

	Lawful Good	Neutral Good	Chaotic Good
	Lawful Neutral	True Neutral	Chaotic Neutral
	Lawful Evil	Neutral Evil	Chaotic Evil

This version of the spell may be cast upon a normal item, or an item that is already enchanted, provided the magical item does not already contain a sentient ego. In the former case, there is a 95% probability that the spell will enchant the item with magical properties besides the ego, which are determined by the DM; based on the physical function of the item, its new alignment, and the level of the caster. In the later case there is only a 5% chance of increasing magical abilities.
For example, the 22nd-level wizard Trehlornam casts this spell on a normal mithril footman's mace. The wizard is attempting to "ego-ise" the weapon to the alignment of lawful good. The "alignment shift" roll is determined; a roll of 05. The item's new ego is to be one place more lawful than the intended. Since there is no alignment more lawful than lawful good, the alignment is as was intended. If the roll had been a 97, the item would be shifted one notch more evil, thus creating an ego of lawful neutral.
Continuing our example, it has been determined, then, that Trehlornam's new mace is lawful good, as intended. Since the mace was not previously magical, another percentile roll is determined for the potentiality of further enchantment of magical properties. A roll of 47 indicates an affirmative. Since the item is a mace, the alignment will be lawful good, and Trehlornam is 22nd-level the weapon could be, as an example, an undead slayer in combination with having the properties of a ring of truth; where the wielder of the mace is not able to lie, but in exchange is able to detect lies.
When the spell is used to alter an existing ego, the wizard may attempt shift the alignment to another specific alignment. The following chart is consulted:

	D100 Roll	Shifted Alignment
	01-09	One place more evil
	10-19	Two places more evil
	20-54	As intended
	55-64	One place more chaotic
	65-74	Two places more chaotic
	75-00	Absolute chaotic neutral (violent psychotic traits)

If an ego has been altered, and it has been determined that the enchanted properties of the item are to be altered as well, the change will always be an upgrade of previous abilities that are more fitting of the newly attained alignment.
There are no material components for either function of the spell.

