TheWoodenplank Posted October 13, 2019 Share Posted October 13, 2019 Hello I was rather disappointed with the Rueful Axe in Skyrim, so I decided to change it. Buffing it to be on par with other weapons is easy, but I'd like to do something special. I want to script it to deal bonus damage to Lycanthropes and Beasts (somewhat like a Silver Sword does, or Wuuthrad to elves).But I'm not sure how weapon scripts work; I can see that WuuthradScript is applied to Wuuthrad for instance, and I can tell that it applies the CS06BladeofYsgramor perk, which is a 20% damage modifier. But I do not understand how the script checks for enemy race - as the damage bonus only applies against elves. So how would I make a damage modifier perk, like Wuuthrad's, that specifically applies to werewolves and beasts? -Thanks for your attention Link to comment Share on other sites More sharing options...
ReDragon2013 Posted October 14, 2019 Share Posted October 14, 2019 (edited) The vanilla script as follow: Scriptname WuuthradScript extends ObjectReference ; attached to weapon "Wuuthrad", [WEAP:000956B5] C06BladeOfYsgramor Perk Property WuuthradPerk auto ; filled with [Perk:000F8308] C06BladeOfYsgramorPerk Event OnEquipped(Actor akActor) akActor.AddPerk(WuuthradPerk) EndEvent Event OnUnEquipped(Actor akActor) akActor.RemovePerk(WuuthradPerk) EndEventIf you open Skyrim.esm with "TES5Edit.exe" then you'll see under branch "Perk" the desired "000F8308 C06BladeOfYsgramorPerk" which should be highligthed by mouse.On the right side you may scroll down to "effects" and sub "perk conditions".Now you will see some conditions (as SUBJECT) to make sure - the weapon "Wuuthrad" is ready - and four other checks to compare the target NPC against any elvenRace--- That's all.You asked: "So how would I make a damage modifier perk, like Wuuthrad's, that specifically applies to werewolves and beasts?"steps in CK: (1) create a weapon you like to have (2) attach the script from above, but use another *unique* scriptname (3) create the perk (make a clone from C06BladeOfYsgramorPerk) and change conditions like weapon and target weapon is now your created, change the first race condition into WerewolfBeastRace [RACE:000CDD84] "Werewolf" and for the second (instead race) use keyword with IsBeastRace [KYWD:000D61D1] remove the third and fourth condition (4) go back to the weapon from (1), fill the script property with the created perk from (3) compile your script (5) save your mod as esp-file. Done! Edited October 14, 2019 by ReDragon2013 Link to comment Share on other sites More sharing options...
TheWoodenplank Posted October 15, 2019 Author Share Posted October 15, 2019 Thanks a lot! I was just missing the bit where you click the perk, and it reveals all these <target> and player conditions. Link to comment Share on other sites More sharing options...
Recommended Posts