Pocket Plane Group
Miscellany, Inc. => Infinity Engine Modding Q&A => Topic started by: Caedwyr on April 27, 2004, 12:37:32 AM
-
I'd like to be able to apply a .eff file when the player delivers a critical hit with a certain weapon. Is there any way of detecting when a critical hit has occured, and to have an item or spell trigger when this occurs?
EDIT: Answered on another forum.
-
And the answer was...?
-
http://forums.spellholdstudios.net/index.php?showtopic=7825
Some hints are there, but what I got from browsing the posts the answer is pretty close to 'not really'.
-
Ah, sorry. Nope apparently there is no way to detect when a critical hit occurs. The best work around, is to have an effect trigger with approximately the same percentage of hits.
So, if a creature will critical hit on a roll of 20, then have the effect trigger for 5% of the hits. If it criticals on a 19 and 20, then 10%. This isn't perfect, because the attack roll modifiers are not taken into account, but its the best work-around possible as far as I know.