masternoxx Posted January 17, 2019 Posted January 17, 2019 I'm trying to incorporate into my mod a fix where you need at least 40 stamina to do a power attack... anyone know if this is possible, perhaps with skse or something? I'm not finding any mods that fix the power attack exploit of only needing 1 or more stamina to do one. The exploit is kind of ruining the game for me. Any info on how I might do this,or maybe a mod you know of that already does this? Thanks very much.
masternoxx Posted January 17, 2019 Author Posted January 17, 2019 Okay found a mod skytweak "stamina cost scaling"
masternoxx Posted January 17, 2019 Author Posted January 17, 2019 (edited) could use some help, I added the effect as a perk, on a quest that auto starts, and all the debug messages show up, but it won't add the perk to my player. I am using this line straight from Creation Kit webpage: ; Adds the awesome perk to the playerGame.GetPlayer().AddPerk(AwesomePerk) upon examination of the "well rested" perk (I was trying to copy the structure of), it appears it exists both as a perk and a spell effect, inside the spell effect is yet another "ability" set, the name which does not show up one either perk or spell, therefore I cant examine or edit it... its a big mess.... here is the script that does not fire the addperk-------------------------------------------------------------- Scriptname aaMF_pwrAtkFixStartScript extends Quest Event OnInit() StaminaFix()EndEventFunction StaminaFix() if pAtkStaFix == 0 PlayerRef.AddPerk(aaMF_pAtkDamScale) ;Game.GetPlayer().AddPerk(aaMF_pAtkDamScale) Debug.Notification("Initializing for the first time.") Debug.Notification("Stamina Fix loaded.") else Debug.Notification("Stamina Fix already loaded.") endif pAtkStaFix = 1EndFunctionPerk Property aaMF_pAtkDamScale Auto Int Property pAtkStaFix AutoActor Property PlayerRef Auto Edited January 17, 2019 by masternoxx
Recommended Posts