Jump to content

How to make a spell which damage enemies while healing allies?


Ildun

Recommended Posts

I'm trying to make a spell which damage enemies while healing allies in target area.

 

For healing, I create new form of previous effect "RestoreHealthFFSelfArea", modify it to fire and forget, aimed and deleted all keyword and "IsUndead" so it heals all things. Then I set its condition to "IsHostileToActor == 0".

 

For damage, I just picked "FireDamageFFAimedArea" and set its condition to "IsHostileToActor == 1", but it still damage non-hostile NPC. I tried "IsHostileToActor != 0", the result is the same.

 

What am I suppose to change?

 

Btw, How am I prioritize visual effect? For example I make a concentration spell which cause lightning, fire and frost damage at the same time. The visual effect always is the fire damage.

Link to comment
Share on other sites

IsHostileToActor doesn't really mean "enemy", afaik a calmed enemy would not trigger it, bit it shouldn't affect non hostile npcs, are you sure you have set the "run on" drop down menu properly? Note that target is the caster and subject the npc being hit by the spell even if the other way around makes more sense...

As for the visual effect, maybe it picks the first effect of the list? not sure though.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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