Jump to content

Please help! Setting up conditions correctly for a spell/disease.


Guest Messenjah

Recommended Posts

Guest Messenjah

So, I'm trying to create a disease with multiple effects. My idea, is that it is a type of rash or burn that slowly drains the player's health, which increases with sunlight and also causes a weakness to fire.

The problem is with setting up conditions... if I set it up to getrandompercent, on both effects within the spell, will it cause conflicts? Do I need to only set this for one effect?

Link to comment
Share on other sites

if you set getrandompercent on both effects, the conditions will run separately resulting 3 scenarios: first effect only, second effect only and both effects applied. I suggest you set getrandompercent on the first effect only. For second effect, use the conditions which allow the effect to take effect only if the first effect is applied such as HasMagicEffect or HasmagicEffectKeyword

Link to comment
Share on other sites

Guest Messenjah

LOL, great, another one of Bethesda's convoluted methods for getting something simple done. :P Why can't we just have one option to set a condtion on the spell itself for all effects and then set them seperately for the magic effects used.... honest lt makes a LOT more sense. :\ Oh well.

Link to comment
Share on other sites

Guest Messenjah

One other question I have, what would be the best way to add the disease via script? Just use addpsell... or do I need to cast it? The disease is set to contact.... so it is only ment for contact during combat rather than being cast. If I do it via script, I can easily set it up to be randomized anyway and I won't even need any conditions.

Link to comment
Share on other sites

what is the source of your disease? from animals like wolf's bite or from spell like vampire's drain life spell? if it's from spell, you can check the script VampireAbsorbHealthScript in the magic effect crVampireAbsorbHealthConcAimed, however, the script itself does not check the chance of contracting so you may need to write a new one if you want to exclude condition from the disease

Link to comment
Share on other sites

  • Recently Browsing   0 members

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