14 lines
450 B
Plaintext
14 lines
450 B
Plaintext
Scriptname _00E_LighntingFromAbove extends activemagiceffect
|
|
{Makes a lighting strike from above the victims head. Way cooler than the vanilla lightning!}
|
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|
|
|
ObjectReference SkyMarker = akTarget.PlaceAtMe(XMarkerHeading)
|
|
SkyMarker.MoveTo(akTarget, 0.0 , 0.0, 500)
|
|
SpellToCast.RemoteCast(SkyMarker, akCaster, akTarget)
|
|
|
|
EndEvent
|
|
|
|
Static Property XMarkerHeading Auto
|
|
Spell Property SpellToCast Auto
|