Syfor Posted July 19, 2012 Share Posted July 19, 2012 I'm working on some spells for Skyrim. Now I understand how to make a spell and how to edit magic effects but I can't seem to get one effect working. I want make a magic effect which adds 50 points to the charge of the weapon the player has equiped in his other hand.To do this I created this magic effect:Effect Archetype: Value ModifierCasting type: ConcentrationDelivery: SelfAssoc. Item 1: LeftItemCharge Then I uses this in a spell and set magnitude to 50.When I cast this spell with right and hold a enchanted weapon Left, the charge of that weapon doesn't change. In the console when I use player.modav LeftItemCharge 50, it does increase the charge of the weapon. Can anyone tell me what I'm doing wrong? I suspect it may be just a broken effect in the creation kit. Also I wonder that if it is indeed broken, how could I possibly get this effect by attaching a script to the magic effect. (I have no experience with Papyrus and there seem to be no turtorials about scripting a magic effect) Help me please! Link to comment Share on other sites More sharing options...
steve40 Posted July 20, 2012 Share Posted July 20, 2012 Try changing the casting type to "fire and forget " instead of concentration. Link to comment Share on other sites More sharing options...
Syfor Posted July 20, 2012 Author Share Posted July 20, 2012 Thanks for the reaction steve40, but changing it into a fire and forget spell doesn't work. However, I did discover something interesting. When I use the enchanted weapon and THEN usethe spell to recharge it, it works up till the value it had when it was drawn. So if I use it on a weapon which has no charge when drawn, the spell has no effect. It seems the only way to solve this problem is by attaching a papyrus script, but I have no idea howto do that because I have no experience with Papyrus. Can anyone please help me? Link to comment Share on other sites More sharing options...
Syfor Posted July 20, 2012 Author Share Posted July 20, 2012 It still doesn't work yet. I cannot understand how to make this effect in papyrus. Can anyone help me please? Link to comment Share on other sites More sharing options...
Syfor Posted July 21, 2012 Author Share Posted July 21, 2012 Is there anyone who knows how make the actor value of a player increase with a script attached to a magic effect? I'm getting desperate here. Link to comment Share on other sites More sharing options...
steve40 Posted July 24, 2012 Share Posted July 24, 2012 (edited) Hmm...instead of using Archetype "Value Modifier" try using "PeakValueModifier". Edit: It the above doesn't work, try this Scriptname ChargeWeapon extends ActiveMagicEffect ;============================================================ float Property newValue = 50.0 auto ;============================================================ Event OnEffectStart(Actor akTarget, Actor akCaster) akTarget.ModAV("LeftItemCharge", newValue) EndEvent ;============================================================ EDIT: you might also find this thread helpful. Edited July 24, 2012 by steve40 Link to comment Share on other sites More sharing options...
Recommended Posts