Jump to content

Need help with script/condition on magic effect


Caithe

Recommended Posts

Is it possible to make an effect only happen at a certain percent chance?

I have an enchantment that paralyse certain monsters. But paralysis happen every hits and it is very too powerful.

So what I want to do is make my effect have 50% chance of paralysing when monster is under 50% HP.

Or if random chance isn't possible, at least only when HP is at a certain point.

 

I'm not sure if this would be done with scripts or conditions. I really don't understand anything about any of them. Condition is a bit less confusing but I still don't understand half of what anything means.

 

Or is there another weapon that act like I described which I could "steal" conditions from?

Edited by Caithe
Link to comment
Share on other sites

You can use this conditions on the magic effect or the spell:

 

For the random %:

GetRandomPercent <= 50

 

For the health:

GetActorValuePercent (Health) <= 50

or GetHealthPercentage <= 50

I always use the first one, don't know if GetHealthPercentage will do the job.

 

Edit:

CWAbRegenSpell has the condition GetActorValue (Health) <= 25, you can copy it and change it to GetActorValuePercent, it's the next one in the droplist.

The same for GetRandomPercent, just duplicate the GetActorValuePercent condition and change it to GetRandomPercent

Edited by pauderek
Link to comment
Share on other sites

  • Recently Browsing   0 members

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