enderalse/source/scripts/_00e_horseflute_old_notobsoletesc.psc

13 lines
548 B
Plaintext
Raw Normal View History

Scriptname _00E_HorseFlute_Old_NotObsoleteSC extends ActiveMagicEffect
{Not obsolete, this script guarantees backward compatibility for the old horse flute. The actual script is _00E_HorseFlute_SC}
Event OnEffectStart(Actor akTarget, Actor akCaster)
PlayerREF.AddItem(_00E_HorseFlute_New, 1)
PlayerREF.RemoveItem(_00E_HorseFlute_Old_DoNotDelete, (PlayerREF.GetItemCount(_00E_HorseFlute_Old_DoNotDelete)), true)
EndEvent
Potion Property _00E_HorseFlute_Old_DoNotDelete Auto
Armor Property _00E_HorseFlute_New Auto
Actor Property PlayerREF Auto