JarlBrogruf Posted April 11, 2013 Share Posted April 11, 2013 What perk conditions would I have to use to add health, magic, and attack speed to a player? I want to use the perk linked to an on-equip script for a weapon to give constant stat boosts when equipped. Link to comment Share on other sites More sharing options...
BrotherBob Posted April 11, 2013 Share Posted April 11, 2013 I would suggest creating a perk that adds an ability that has 3 magic effects (affecting health, magicka, and attack speed, respectively). Link to comment Share on other sites More sharing options...
blacksupernova Posted April 11, 2013 Share Posted April 11, 2013 I would suggest creating an ability that has 3 magic effects and link it directly to your on-equip script for your weapon. there's no need for a perk Link to comment Share on other sites More sharing options...
JarlBrogruf Posted April 11, 2013 Author Share Posted April 11, 2013 I would suggest creating a perk that adds an ability that has 3 magic effects (affecting health, magicka, and attack speed, respectively).Yeah, but what condition functions would I use to do that? Link to comment Share on other sites More sharing options...
BrotherBob Posted April 11, 2013 Share Posted April 11, 2013 blacksupernova is right; if you don't need the perk, the best way to go about it is to simply create the ability. But, if you need a perk. Here's what you do (after firing up the CK and loading Skyrim.esm as the Master file):1) Open up the Edit window for the magiceffect called "AlchFortifyHealth". (Magiceffects are found under Magic)2) Edit the ID to be whatever you want (and can remember). I'll call it "MyMod_FortifyHealth". Change the Casting Type from Fire and Forget to Constant Effect. Though optional, I would highly recommend that you alter the Magic item description to read: "Health is increased by <mag> points." Hit OK to confirm your changes. It will prompt you to create a new form (since you changed the name). Agree to that.3) Open up "MyMod_FortifyHealth". Change the ID to "MyMod_FortifyMagicka" (again, whatever you want and can remember), and change the Name to "Fortify Magicka". Change Assoc. Item 1 to Magicka and change Assoc. Item 2 to "MagicAlchFortifyMagicka". Though optional, I would highly recommend that you alter the Magic item description to read: "Magicka is increased by <mag> points." Hit OK to confirm your changes. It will prompt you to create a new form (since you changed the name). Agree to that.4) Open up "MyMod_FortifyMagicka". Change the ID to "MyMod_FortifyWeaponSpeed" (again, whatever you want and can remember), and change the Name to "Fortify Weapon Speed". Change Effect Archtype to "Dual Value Modifier". Change Assoc. Item 1 to "WeaponSpeedMult" and change Assoc. Item 2 to "LeftWeaponSpeedMult". Change 2nd AV Weight to 1. Remove the Keywords (optional, but I'm paranoid). Change the Magic item description to read: "Weapon swing speed is increased." Hit OK to confirm your changes. It will prompt you to create a new form (since you changed the name). Agree to that.5) Now go to the Spells tab and right click where the list of spells are and hit "New". Change the ID to "MyMod_MyAbility" (again, whatever you want and can remember), the Name to "My New Ability" (again, whatever you want for the game to display when playing). Change the Type to "Ability". Casting should be "Constant Effect" and Delivery should be "Self". I recommend that the Menu Display Object be "MagicHatMarker" (but it is up to you). If you want to override the descriptions we gave above, you can edit the Description field. On the large lined, blank box, right-click and hit "New". A new window appears. Under Effect, choose "MyMod_FortifyHealth". Under Magnitude, type the number of Health points that you want to add. Hit OK, and repeat a similar process for "MyMod_FortifyMagicka". Now, repeat the process for "MyMod_FortifyWeaponSwingSpeed", but the Magnitude will play a different role. For example, if you want your weapon swing speed to be increased by 35%, set Magnitude to 1.35. If you want your swing speed to be 50% faster, set Magnitude to 1.5. Again, hit OK to close that window. Hit OK again to save your new ability.6) Now, go to the Perk section, found under Actors. Right-click on the perks and hit "New". Under ID, type "MyMod_NewPerk", and, under Name, type "My Perk" (again, whatever you want). Hit OK to close the window. Open up the perk again and right-click the Perk Entries box and hit "New". Click the circle next to Ability, and, in the pull-down menu, choose "MyMod_MyAbility". Hit OK and then OK again to close both windows.7) Find your desired weapon (in the Weapon category under Items) and open it. Under Papyrus Scripts, Hit "Add" and type "SilverSwordScript" in the filter bar. Double click on that script and wait a moment. The script's name will now appear in the Papyrus Scripts box. Double-click it and, in the window that appears, hit "Auto-Fill All", then, "OK". Hit OK to close the weapon's window.8) Save your work!There it is: everything you needed if I understand correctly. Link to comment Share on other sites More sharing options...
BrotherBob Posted April 11, 2013 Share Posted April 11, 2013 Also, if you want the perk only on the player, when you open up the Perk, right-click on the box under Conditions, and hit "New" to open a new window. Condition Function should be "GetIsID", Run on should be "Subject", Comparison should be "==", and Value should be 1. Click on the box that reads "Invalid", and, in the new window that appears, choose "Player" in the drop-down menu. Hit OK, hit OK, and hit OK to close. Then, save. Link to comment Share on other sites More sharing options...
Recommended Posts