Jump to content

Need help with fortify script!


Durai

Recommended Posts

Does anyone know how (if at all) I can find the values of a fortify enchantment? I'm modding a staff so that its power increases (with a formula) based on any fortify enchantments.

 

Example: Staff of Fireball's power would be equal to (*WeaponDamage) + (DestructionSkillLevel * .05) + (FortifyDestructionMagnitude)

 

I can get the skill levels by using this function:

 

 

floatSkillLevel

 

Function SkillLevel (Actor TargetActor)
SkillLevel = TargetActor.GetActorValue("Destruction") as Float
EndFunction

 

 

But I don't know how to find the strength of the fortify enchantment. Any help is greatly appreciated (even if the answer is that it's not possible!).

 

*I know staves don't have weapon damage but my mod calls for this one to.

 

EDIT: Actually I just realized I placed this in the wrong forum; can a mod please move it to the Troubleshooting section please?

Edited by Durai
Link to comment
Share on other sites

fortify enchantments value would be "(skill)mod", fortify magnitude effect from alchemy would be "(skill)powermod". for example, fortify destruction enchantment (reduce cost) is "destructionmod". fortify destruction magnitude from alchemy is "destructionpowermod"

Thank you so much! That helped me complete the last part of my script! Praise Talos!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...