Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
548 B
13 lines
548 B
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 |