Jump to content

Diseases that Damage Health Over Time


jamochawoke

Recommended Posts

Ok I'm trying to set up a disease that damages the player's health over time unless they get it cured.

 

Basically I have a "magic incantation" that is passed from a monster to the player. It should be doing 1 point of fire damage and continue doing 1 point of damage over the course of the disease.

 

I tried just making a disease with the setup of "Fire Damage: Magnitude 1" and it gets applied to the player just like any other disease and the Fire Damage 1 shows up in active effects list from my disease but it doesn't do any damage at all. My player doesn't have any fire resist so it cannot be that.

 

Any clues?

Link to comment
Share on other sites

Hmmm... I'd probably run a quest script to check if Player.HasSpell spell:ref. Each time the quest script is run, it will move an invisible activator to the player and cast a fire spell on him. You can use set fQuestDelayTime to set the damage rate instead of a more complex GetSecondsPassed type function.

 

If it doesn't have to be fire damage and you're using OBSE, you could also consider Player.ModAV2 Health -x for each run of the script.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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