FunkyGandalfCat Posted September 25, 2024 Posted September 25, 2024 Hello Basically, I made a script that casts a spell on a power attack, and also made a perk that modifies the specific spell magnitude with a Multiply 1 + Actor Value Mult (Actor value being smithing btw). However when testing in game, the perk doesn't seem to apply the spell at all. I tried different conditions in the "Spell" tab of the Mod Spell Magnitude, tried HasMagicEffect, HasMagicEffectKeyword, EPMagic_SpellHasKeyword, GetIsID(and pointed to the specific spell), etc. But nothing seems to work. At this point I imagine that(probably) any spells that are cast via a script will not benefit from any perk. Any thoughts on this?
PeterMartyr Posted September 25, 2024 Posted September 25, 2024 (edited) Post the script.... start small with to see if the Creation Spell tab/conditions that is the problem Event OnEffectStart(Actor akTarget, Actor akCaster) Debug.MessageBox(Self+"[OnEffectStart] has Fired") EndEvent Once you know it is firing, worry about the code edit edited perks with code cannot be applied to NPC AFAIK and only to the Player Edited September 25, 2024 by PeterMartyr
Recommended Posts