Jump to content

Need help making a condition to make a spell/disease bypass a perk.


Recommended Posts

Hi there

So, I'm working on two projects that would need special ways to bypass disease resistance. The first one I have is a mod adds more ranks to the Snakeblood alchemy perk, which I've modified to protect against disease and poison both.

The thing is, I don't want this perk to protect from the generic vampire disease. At first I thought I could select the ignore resistance option in the disease's menu in the CK, but I don't want it to ignore disease resistance for vampires or werewolves, so I need my new Snakeblood perks to have a gap in their protection for vampirism to slip through.

Just not sure what conditions I should apply to my perk, or if I should put it on the disease/spell itself.

I tried creating a new keyword "ZZZZBypassSnakeblood" and attaching that to the DisDamageHealthVampire Magic Effect, hoping that having this condition on my disease resistance effect on the spell/ability that the perk gives would provide the vulnerability I'm looking for:

Target: S

Function name: HasKeyword

Function info: Keyword "ZZZZBypassSnakeblood"

Comp: !=

Value: 1

But that doesn't seem to be working, and neither did GetItsId: DiseaseSanguianareVampiris.

The other mod that I'm thinking about trying to make would include a once a day potion that would give the PC a random disease when consumed, which I'd also like to ignore disease resistance.

Though in this case, I think what I need to do is make duplicates of the diseases I want this potion to transmit, and attach them to the potion via a script. Thinking of using Esbern's potion as a template, but I might be way off base there.

Any suggestions?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...