Darkpig Posted December 12, 2024 Posted December 12, 2024 Like the title says I'm trying to make poisons scale to certain weapons. Mostly for it to scale like sneak attack damage. But it doesn't work as I hoped: As you can see I set very specific conditions for it to only trigger when sneaking and undetected. I even added certain keywords to poison effects so I know that isn't the problem. Unfortunately that one line "HasKeyword(WeapTypeDagger)" is causing me grief. For some reason it doesn't recognize this condition. What am I doing wrong? Do I need to set a different condition or do I need to go through the annoyance of making a new script?
Tlam99 Posted December 12, 2024 Posted December 12, 2024 (edited) Thats a perk entry for a magi effect scaling on the first glance. Neither the player nor the effect can have the keyword weapontype dagger. Some more Poison, enchantment, spell are different ways to apply a MGEF. Alchemy skill defines/scale the MGEF of the poison. To scale the mgef via weapon type I don't see a scriptless way, because there i no direct relation. A possible way would be some sort of leveled list. weapontype dagger magnitude x weapontype sword magnitude y The base magnitude has been defined already via alch perk. Edited December 12, 2024 by Tlam99 1
MadMansGun Posted December 12, 2024 Posted December 12, 2024 (edited) maybe wornhaskeyword or getequipped / isequipped? https://ck.uesp.net/wiki/GetEquippedItemType Edited December 12, 2024 by MadMansGun 1
Darkpig Posted December 13, 2024 Author Posted December 13, 2024 On 12/12/2024 at 2:29 AM, MadMansGun said: maybe wornhaskeyword or getequipped / isequipped? https://ck.uesp.net/wiki/GetEquippedItemType I'm pretty sure I already tried that. I'll try it again but: On 12/11/2024 at 10:26 PM, Tlam99 said: To scale the mgef via weapon type I don't see a scriptless way, because there i no direct relation. A possible way would be some sort of leveled list. weapontype dagger magnitude x weapontype sword magnitude y The base magnitude has been defined already via alch perk. If what TIam99 said is correct I may either have to create a new script or do something with leveled lists. But yeah thank you both for the suggestions. I'll try them both and get back to you.
AndrewLRG Posted December 13, 2024 Posted December 13, 2024 (edited) Are you sure condition "PlayerRef.HasKeyword(WeapTypeDagger" is correct? Vanilla perks (like "Barbarian80") are using Subject.HasKeyword(WeapTypeBattleaxe) for PRKC 1. Update: And the condition itself should be in PRKC 0 section. As far as I understand in "Entry Point - Mod Spell Magnitude" "PRKC 0" is used for conditions that apply on perk owner, while "PRKC 1" on the affected spell. A mod "Ordinator - Perks of Skyrim" https://www.nexusmods.com/skyrimspecialedition/mods/1137 has a perk "ORD_Enc30_StaffChanneler_Perk_30_OrdASISExclude" that changes enchantment strength while player is holding a staff. This perk uses "Entry Point - Mod Spell Cost", but I think the principal is the same. You could have a look how it's done there. Edited December 13, 2024 by AndrewLRG 1
Darkpig Posted December 14, 2024 Author Posted December 14, 2024 Status Update: Okay I've figured it out sort of. @MadMansGun was right. GetEquippedItemType does affect spell magnitude including poisons. @AndrewLRG also had a good point as I just put the condition in the wrong PRKC. At the same time I haven't been successful at using keywords to scale poisons. That is a shame because despite GetEquippedItemType sort of scaling poisons on daggers as the system doesn't care whether or not you are using a dagger or a mace as long as you have a dagger in one of your hands which gives a bad taste in my mouth: Spoiler I'll continue exploring for alternatives.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now