<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bgtscc.net/index.php?action=history&amp;feed=atom&amp;title=Premonition</id>
	<title>Premonition - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bgtscc.net/index.php?action=history&amp;feed=atom&amp;title=Premonition"/>
	<link rel="alternate" type="text/html" href="https://wiki.bgtscc.net/index.php?title=Premonition&amp;action=history"/>
	<updated>2026-10-17T06:20:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.bgtscc.net/index.php?title=Premonition&amp;diff=15007&amp;oldid=prev</id>
		<title>172.68.110.141 at 16:30, 26 February 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.bgtscc.net/index.php?title=Premonition&amp;diff=15007&amp;oldid=prev"/>
		<updated>2022-02-26T16:30:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:30, 26 February 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|level_sorwiz=8&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|level_sorwiz=8&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|level_warlock=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|level_warlock=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|level_additional=[[Cleric]] with [[Time (domain)|Time]] domain 7&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|level_additional=[[Cleric]] with [[Time (domain)|Time]] domain 7&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, [[Cleric]] with [[Planning (domain)|Planning]] domain 8&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|level_innate=8&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|level_innate=8&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|school=Divination&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|school=Divination&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>172.68.110.141</name></author>
	</entry>
	<entry>
		<id>https://wiki.bgtscc.net/index.php?title=Premonition&amp;diff=5873&amp;oldid=prev</id>
		<title>Valleriani at 18:12, 3 September 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.bgtscc.net/index.php?title=Premonition&amp;diff=5873&amp;oldid=prev"/>
		<updated>2017-09-03T18:12:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:12, 3 September 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{spell&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{spell&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|icon=Is premonition.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;jpg&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|icon=Is premonition.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;png&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|image=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|image=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|level_bard=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|level_bard=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Valleriani</name></author>
	</entry>
	<entry>
		<id>https://wiki.bgtscc.net/index.php?title=Premonition&amp;diff=2184&amp;oldid=prev</id>
		<title>Valleriani: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.bgtscc.net/index.php?title=Premonition&amp;diff=2184&amp;oldid=prev"/>
		<updated>2017-08-31T18:22:17Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{spell&lt;br /&gt;
|icon=Is premonition.jpg&lt;br /&gt;
|image=&lt;br /&gt;
|level_bard=&lt;br /&gt;
|level_cleric=&lt;br /&gt;
|level_druid=8&lt;br /&gt;
|level_paladin=&lt;br /&gt;
|level_ranger=&lt;br /&gt;
|level_sorwiz=8&lt;br /&gt;
|level_warlock=&lt;br /&gt;
|level_additional=[[Cleric]] with [[Time (domain)|Time]] domain 7&lt;br /&gt;
|level_innate=8&lt;br /&gt;
|school=Divination&lt;br /&gt;
|descriptor=&lt;br /&gt;
|components=VS&lt;br /&gt;
|range=Personal&lt;br /&gt;
|area=Caster&lt;br /&gt;
|duration_type=long&lt;br /&gt;
|save=Harmless&lt;br /&gt;
|spell_resistance=No&lt;br /&gt;
|hostile=No&lt;br /&gt;
|empower=No&lt;br /&gt;
|extend=Yes&lt;br /&gt;
|maximize=No&lt;br /&gt;
|quicken=Yes&lt;br /&gt;
|silent=Yes&lt;br /&gt;
|still=Yes&lt;br /&gt;
|persist=No&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Description== &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Premonition&amp;#039;&amp;#039;&amp;#039; allows you to see a few moments into the future. This grants you [[damage reduction]] 30/[[adamantine]]; the spell absorbs 10 points of melee damage per caster level before collapsing.&lt;br /&gt;
&lt;br /&gt;
== Gameplay Notes ==&lt;br /&gt;
&lt;br /&gt;
Note: Adamantine weapons get past almost all forms of magical damage resistance.&lt;br /&gt;
&lt;br /&gt;
Usually Sorcerors and Wizards can do without Greater Stoneskin and Premonition when they have proper party support and do not enter melee combat ([[Protection from arrows]] and [[Stoneskin]] can provide the same basic protection against ranged attacks). Better spells do exist to entirely avoid attacks (important since Adamantine weapons can completely bypass this, and this spell doesn&amp;#039;t stop attacks, but just stops the basic weapon damage - therefore, knockdown, extra weapon damage, and anything over 30 points of damage still affect the caster anyway). Alternatives are the use of [[Displacement]] and other concealment spells, and [[Invisibility]] to move out of combat if engaged.&lt;br /&gt;
&lt;br /&gt;
It is still useful in most cases as a long-term protective spell for adventurers, and especially against lower level encounters where the enemy is unlikely to ever bypass the protection it offers. It cannot be cast on others so very few mages would prepare multiple castings (instead, relying on a backup scroll (or rod) to cast it).&lt;br /&gt;
&lt;br /&gt;
Since it is such a standard protection spell, Adamantine weapons are costly (adamantine weapons also provide extra non-physical damage). Wizards are much better to not get into melee combat at all, or use personal spells such [[Mirror Image]], [[Displacement]] and [[Invisibility, Greater]] to conceal themselves against attacks if they do get into melee, although this spell does help against most enemies.&lt;br /&gt;
&lt;br /&gt;
Its long duration means that most mages will cast this, if adventuring, during the start of the day when they are a high enough level.&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
There is an extremely weird bug hard-coded into the engine: If a spellcaster wielding an adamantine weapon in his right hand casts a spell that deals physical damage, the spell will bypass any damage reductions on the target, including Premonition, Stoneskin, Greater Stoneskin, Ethereal Visage, Shadow Shield, and Stone/Iron Body. Affected spells are Earthquake, Bombardment, Evard&amp;#039;s Black Tentacles etc. Only the right hand weapon matters, the weapon in the left hand doesn&amp;#039;t matter. For example, the King of Shadows in the OC wields adamantine weapons and when he casts Earthquake etc., the game will deal standard damage, completely ignoring any damage reduction spells.&lt;br /&gt;
&lt;br /&gt;
To bypass this bug, the spell scripts need to remove the Adamantine material type from the weapon of the spellcaster before he creates the damage effect and re-apply it after the effect is created. Note that it is the effect CREATION that matters, not the actual effect application. If the damage effect is created by somebody without an adamantine weapon in his right hand, damage reduction will not be bypassed, even if the damage is applied by somebody wielding an adamantine weapon. &lt;br /&gt;
&lt;br /&gt;
Also, concerning AoE spells like Evard&amp;#039;s Black Tentacles, the damage effect is constantly re-created by the AoE-creator when applicable, so damage reduction will be bypassed as long as the AoE creator has an adamantine weapon equipped, but if he unequips the weapon, damage reduction kicks in, even if the AoE itself was created with an adamantine weapon equipped. So in order to fix, the scripts NW_S0_EvardsA (onEnter) and NW_S0_EvardsC (Heartbeat) need to be fixed, NOT the AoE creation script NW_S0_Evards.nss!&lt;br /&gt;
&lt;br /&gt;
So a fix for Earthquake (X0_S0_Earthquake.nss) could look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
object oWeapon=GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, OBJECT_SELF);&lt;br /&gt;
&lt;br /&gt;
if(oWeapon!=OBJECT_INVALID &amp;amp;&amp;amp; GetItemBaseMaterialType(oWeapon)==GMATERIAL_METAL_ADAMANTINE)&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
SetItemBaseMaterialType(oWeapon,GMATERIAL_NONSPECIFIC);&lt;br /&gt;
&lt;br /&gt;
DelayCommand(0.0f,SetItemBaseMaterialType(oWeapon,GMATERIAL_METAL_ADAMANTINE));&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
	   &lt;br /&gt;
ApplyEffectToObject(DURATION_TYPE_INSTANT,  EffectDamage(nDamage, DAMAGE_TYPE_BLUDGEONING), oTarget);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The script above checks if the spellcaster (OBJECT_SELF) wields an adamantine weapon. If he does, the adamantine type is replaced by non-specific material type. The adamantine type is then re-applied to the weapon in a delayed command AFTER the spellcaster creates the damage effect - EffectDamage(nDamage, DAMAGE_TYPE_BLUDGEONING). Because the adamantine property was not present at the time of the damage effect creation, the damage will be properly intercepted by Premonition and similar spells.&lt;br /&gt;
&lt;br /&gt;
Alternatively, it is possible to use somebody else to create the effect (the spell target, for example), although chances are the target is wielding an adamantine weapon as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
AssignCommand(oTarget,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(nDamage, DAMAGE_TYPE_BLUDGEONING), OBJECT_SELF));&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 3.5E notes ==&lt;br /&gt;
&lt;br /&gt;
There is no &amp;quot;Greater Stoneskin&amp;quot; in the core rulebook, and Premonition exists but in an entirely different manner (providing a single bonus to a check instead of full damage reduction). These were made due to give a line of damage resistance spells where other high level protection spells were not possible in NWN2.&lt;/div&gt;</summary>
		<author><name>Valleriani</name></author>
	</entry>
</feed>