To stop the Mantella spell from turning certain friendly NPCs hostile
Permissions and credits
Credits and distribution permission
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 so long as you credit me as the original creator
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 as long as you credit 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
Released under Attribution 4.0 International (CC BY 4.0) (https://creativecommons.org/licenses/by/4.0/)
File credits
USSEP - USSEP team
Donation Points system
This mod is opted-in to receive Donation Points
Changelogs
Version 0.4
Added a version that is more performance-friend on load orders that uses a lot of mods that distribute scripts to NPCs via cloak spells (they should use SPID)
Version 0.3
Add same fix to defaultSetStageOnAttacked
Add same fix to defaultSetStageOnAttackedRefAlias
Version 0.2.2
Some micro optimizations:
Cache Game.GetPlayer()
Move script to different state once actors are hostile
Version 0.2.1
Include the right files for the update
Version 0.2
Added scroll support too
Donations
No donations accepted
Problem
Vanilla Skyrim, you can encounter non-hostile NPCs during world encounters that are suppose to turn hostile if attacked.
However, these NPCs do not differentiate between hostile or non-hostile magic.
You could be minding your own business, healing your friends with Grand Healing; then BAM! You're forced to murder people.
Other examples of spells that erroneous trigger NPCs include:
Magelight - I am just trying to help you see better! 😭
If you use a mod that uses a cloak spell to distribute scripts to these npcs, that might trigger the bug too.
Description
This mod makes it so you won't trigger hostile reactions from these NPCs from non-hostile spells, and enchantments.
There are 2 versions:
A performance-friendlier version that doesn't work with scrolls.
A version that work with scrolls, but may cause script lag if you are running sub-optimal mods that uses cloak spells to attach scripts to NPCs (they should use SPID instead).
4 scripts are edited so they will ignore hits from non-hostile magic effects: