Chaos of Battle

Chaos of Battle is an ability granted to the Cleric class using the class kit Priest of Tempus at first level. The ability was added in Baldur's Gate: Enhanced Edition. The potential companion Branwen is a Priest of Tempus and starts with this ability.
A Priest of Tempus begins with one cast of the ability per day and gain an extra cast every ten additional priest levels, peaking at 4 casts at level 31.
This innate spell ability is accessible from the character's "Special Abilities" button, which opens a menu bar allowing selection. Player's using a game platform with a keyboard interface can use the F12 shortcut.
==Description==
==Gameplay==
This spell is cast on self only.
When the spell casting is finished, which is basically almost instantly, two sub-spells are released - one that only affects the party/allies and the other that only affects hostile (enemy) creatures within 15 feet of the caster.
When the spell is applied to the creatures, the combat log displays the results in different colored texts for each creature in the AoE, yellow for allies and purple for foes.
All of the effects applied by the spell have a duration of 1 turn.
For every creature within range, the game rolls randomly on the following table to determine which stat is affected:
Probability of Effects
Effect Modifier 	Probability
AC 	25%
THAC0 	25%
HP 	15%
Luck 	10%
Save vs. death 	5%
Save vs. wand 	5%
Save vs. polymorph	5%
Save vs. breath 	5%
Save vs. spell 	5%
Only one of these stats is chosen per creature.
Next, the magnitude of the effect is chosen based on the caster's level, increasing every 6 additional levels and maxing out at level 25:
Effects by Level
Level	Modifier	HP Modifier
1 	1 	5
7 	2 	10
13 	3 	15
19 	4 	20
25 	5 	25
This is the amount the stat is buffed (for allies in range) or debuffed (for enemies in range). The HP modifier is used when the initially chosen stat is HP.
A gameplay example to illustrate:
:A level 8 Priest of Tempus casts Chaos of Battle during a fight with skeletons. The random stat chosen for the priest is Thac0, which gives the priest a +2 to Thac0 due to her level. The effect for one of the skeletons ends up being HP, which gives that skeleton -10 to its maximum HP. Another skeleton's chosen effect turns out to be save vs. polymorph, which gives that skeleton -2 to save vs. polymorph.
Multiple casts of Chaos of Battle do not stack, the new effect overrides the previous one. However, the Luck effect will stack with other similar effects such as Chant or the bard's song.
All of this spell's effects can potentially be removed ay any applicable Dispel Magic effect.
A Minor Globe of Invulnerability will block this spell, as will a Spell Immunity: Conjuration.
==Bugs==
Enemies whose HP is reduced to 0 (e.g. a level 7 Priest of Tempus ends up getting the HP-lowering effect on a 7HP Goblin) will show up as "dead" when scrolled over (as opposed to, say, "injured" or "badly wounded") and have 0HP, but they won't actually die until a final hit is inflicted on them.
==Gallery==
Chaos of Battle cast by Branwen (BGee).png|Branwen casts her innate ability during an ambush at Cloakwood. Party members get combat bonuses (yellow), while the three Ettercaps in range get combat penalties (purple). (BG:EE)
Chaos of Battle cast by Branwen day (BGee).png|Branwen casts Chaos of Battle during another waylay of Ettercaps in Cloakwood Forest, in daylight this time. (BG:EE)
Category:Infobox incomplete
Category:Class abilities