Jump to content

Alternate scripted healing spells.


Adinirith

Recommended Posts

Hey guys,

I'm trying to create a healing spell through a script. While my logics tell me that it should be simple, I simply cannot make it work.

The goal is to create a race specific healing spell that looks different than the restoration magic already in the game. While the regular restoration spells have a silverish glow, when cast. I'd like mine to have a red'ish glow, much like the destruction spell 'damage healh'.

So in short:

Is there any way to restore health through a script?

 

Adin

Link to comment
Share on other sites

You can create an ability spell that restores x amount of health per second. Then create a scripted spell (and select Damage Health for visual effects) that adds the spell to you, then removes it after a set duration. the script for the spell would look something like:

 

scn ScriptedHealingSpellScript

Begin ScriptEffectStart

Player.AddSpell SpellEditorID

End

Begin ScriptEffectFinish

Player.RemoveSpell SpellEditorID

End

 

Just make sure you set the spell's duration to at least 1 second.

Link to comment
Share on other sites

Ah of course..

Much like making an ability for a bound item, and a scripted spell to add/remove the bound item ability.

 

I managed to make a 10 second scripted spell with the visual effect i wanted, but effect -healing =/= awesome.

 

Thanks Vyper.

 

Edit: Is there a way to hide the text in the top left corner, when the spell is added and removed?

Edited by Adinirith
Link to comment
Share on other sites

  • Recently Browsing   0 members

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