Find Traps / Detect Illusion

__NOTOC__
A Thief, Shaman, Monk and familiars can enable the Find Traps / Detect Illusion mode with a click on the relevant icon in the combat interface or by pressing F4. Unlike the Stealth and Thieving buttons, this one isn't disabled by any armor type. Once clicked, it will remain active until a different action is performed.
When active, this modal skill allows a creature to both find traps and detect illusions up to 15 feet away, based on the creature's score in each skill. This search is performed approximately once per 100 AI ticks (once per 6⅔ seconds), and the Haste effect doesn't speed it up. Besides traps and illusions, it can detect secret doors, wall panels, passageways, etc, provided they are in range.
==Mechanics==
===Find / Disarm Traps===
This skill allows a Thief, Monk and familiar to find traps, which a Thief or familiar can then disarm if skill points in find/disarm trap are high enough.
The formula for both finding and disarming traps is the same as the one to unlock containers and doors:
 Skill points - 1 + 1d10 > Difficulty
Meaning that there's a chance to find or disarm starting from 8 points below difficulty, but it will only be certain success at Difficulty+1. The 1d10 roll profits from high luck.
Maximum difficulties encountered in each game: A detection difficulty of exactly 100 means a trap can't be detected regardless of skill points. Same for disarming difficulty.
 	Container traps	Container traps	Ground traps 	Ground traps
 	Detection 	Disarming 	Detection 	Disarming
BG:EE and SoD	91 	97 	90 There's one trap with detection difficulty 99 in the Third Subterranean Level of Durlag's Tower.	99
BG2:EE 	99 	101 	95 There's one trap with detection difficulty 120 in Kiser Jhaeri's basement. 	99 There's one trap with disarming difficulty 110 outside of Sendai's Hideout.
===Detect Illusion===
A Thief, Shaman, Dark Moon Monk and familiar may attempt to detect illusions with this skill. All effects of the illusion school (e.g. Mirror Image) will be removed on neutral and hostile creatures in range — illusory targets such as Project Image clones are simply destroyed. Skill points in Detect Illusion represent the percentage chance to remove them, so there is no need to raise it above 100.
==Gameplay==
*There is no way to block detection, but its 15-feet range is small, similar to a Fireball centered on the user.
*Although queueing up another action (e.g. attacking an enemy) will disable Find Traps / Detect Illusion, if an action is queued up first and then the modal is activated, it will remain active. This potentially allows enemy illusions to be dispelled in combat while the character attacks or uses abilities.
*Dexterity or other ability scores do not influence Detect Illusion skills.
*Enemies can spot illusions too. The combat log will display the line *attempts to detect illusions*.
*Some enemies in Baldur's Gate II: Throne of Bhaal use this skill without any line being displayed in the logs, which can be confusing. Here is an exhaustive list:
** Watcher's Keep Teleport Maze:
*** This Cambion
*** Assassins from the card Guile in the game with Aesgareth
*** Aesgareth's Tiefling ally
** Eler Had
** Kiser's Home - Basement: The one thief present
** Castle Saradush Basement: Any thief there
** Forest of Mir – The Temple: The one Skeleton Assassin
** Siege Camp: Yaga-Shura's Lieutenant Thief
** Area outside Sendai's Hideout: The 2 Drow Warriors who were disguised as pheasants
** Abazigal's Lair Cells: The 2 Kuo-toan Whips
==See also==
* Detecting Secret Doors
==Mod content==
Where in the unmodified game this skill cannot be blocked by the spell Non-Detection - with the Spell Revisions mod's version it will be blocked. The rogue's Find Traps / Detect Illusion skill will not reveal or remove invisibility and or stealth from a creature under the effects of a Non-Detection spell.
Category:Class abilities
Category:Game mechanics
Category:Illusion removers
Category:Illusionary creature destroyers