Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
The script is used by armor spells to cause an effect to play whenever you are hit, however, this effect can cause performance issues when you are hit rapidly The script also does not discern if a "hit" is actually damaging This mod simply replaces the OnHit event used by the script with the event OnImpact
This event triggers in the same situations as the standard OnHit event, except:
It tries to avoid triggering more than once per frame for the same pairing of akAggressor + target (self)
For example, the regular OnHit event may trigger many times within a single frame for a single hit by a poisoned/enchanted weapon, which can cause numerous performance issues. OnImpact will only trigger once.
It does not trigger if there is no Source (akSource == None), no Projectile (akProjectile == None), and no bash attack (abBashAttack == False).
It does not trigger for hits by Concentration spells.
It does not trigger for Touch or Self-cast spells.
It does not trigger for spells that are not hostile.