Svard Posted April 20, 2015 Share Posted April 20, 2015 (edited) Well, after trying to make a perk in my Destruction tree to increase their Lifetime and Limit, I discovered, after the time spent making Impact Data and Hazards, that I can't just swap the effects of the spells to another, since Skyrim looks for highest cost, regardless of what other conditions you set, when it comes to Visual Effects, which Imapact Data Sets fall under. So, I'm trying to resort to papyrus, but I can not seem to find any real reference on to to replace the Impact Data set within a spell based on certain conditions. Any assistance would be much appreciated.. **UPDATE** Well, I've written a script, and got it to compile. Unfortunately, I don't seem to be having any luck on getting the spell to change its Impact Data Set. I've set the properties to the correct objects in Creation Kit, but no luck on it changing anything in game. Here's my most recent revision to the script. Any suggestions would be most welcome. Quote scriptName ChangeImpactDataSet extends ObjectReference;;This script is used for changing the Impact Data Set when a perk is added;=========================================================================================Perk Property refPerk auto;Which perk is required for the change to happen?Spell Property refSpell auto;Which spell are we referencing?MagicEffect Property refMagicEffect auto;Which magic effect are we applying to change to?ImpactDataSet Property refImpactDataSet auto;What is the new Impact Data Set we are using?;=========================================================================================;EVENT BLOCK;=========================================================================================Event OnSpellCast(Form akSpell) Spell spellCast = akSpell as Spell if spellCast == refSpell If (Game.GetPlayer().HasPerk(refPerk)) refMagicEffect.SetImpactDataSet(refImpactDataSet) endif endifEndEvent Edited April 22, 2015 by Svard Link to comment Share on other sites More sharing options...
Recommended Posts