Pancakes22 Posted September 29, 2013 Posted September 29, 2013 I'm trying to make a mod that adds a custom enchant. I have a sword, which has an enchant, that enchant has a magic effect, and that magic effect has a script tied to it. The problem I'm having is that it isn't working. My script is similar to the one for the blade of ysgramor (Wuuthrad), but it's on a magic effect instead of the weapon because I want the player to be able to disenchant it and put it on other weapons, and when the player equips the enchanted item, it doesn't get the script effect.
blacksupernova Posted September 29, 2013 Posted September 29, 2013 The script on Wuuthrad is for object, it can not be used on a magic effect. What exactly do you want the enchantment to do?
Pancakes22 Posted September 30, 2013 Author Posted September 30, 2013 I'd like it to give the player a perk, like the wuuthrad one does. Basically, I want a weapon enchant that affects the player instead of your opponent, and I'd like it to be disenchantable.
blacksupernova Posted September 30, 2013 Posted September 30, 2013 Yes, it can be achieved without scripting. However, the effect won't scale with enchanting i.e: if the effect is to increase damage against elves by 20%, it will always increase damage by 20% no matter how high your enchanting. I don't know any way to make it scale.
Pancakes22 Posted October 1, 2013 Author Posted October 1, 2013 Okay. So it is possible to have a weapon enchant affect the player. I don't need the enchant to scale, can you tell me how I do this?
blacksupernova Posted October 1, 2013 Posted October 1, 2013 First, make an ability which has whatever effect you want to apply on the player. Next, create a new on-contact magic effect, the effect of this magic effect is irrelevant, can be anything, set Equip Ability to that new ability. From now on, whenever you equip that magic effect, you are given that ability. The rest is pretty straight forward, add the magic effect to an enchantment and enchant what you want.
Recommended Posts