enderalse/source/scripts/_00e_fs_affinity_druidsc.psc

19 lines
824 B
Plaintext
Raw Normal View History

Scriptname _00E_FS_Affinity_DruidSC extends activemagiceffect
_FS_TheriantrophistControlQuest Property controlQuest Auto
Perk Property _00E_Affinity_AbDruidPerk_BoostElementalChymikumEffectiveness Auto
Explosion Property _00E_FS_Affinity_Druid_FrostnovaExp Auto
Event OnEffectStart(Actor akTarget, Actor akCaster)
Game.GetPlayer().AddPerk(_00E_Affinity_AbDruidPerk_BoostElementalChymikumEffectiveness)
controlQuest.GetAffinityControl().RegisterForDruidAffinityEvents(self)
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
Game.GetPlayer().RemovePerk(_00E_Affinity_AbDruidPerk_BoostElementalChymikumEffectiveness)
controlQuest.GetAffinityControl().UnRegisterForDruidAffinityEvents()
EndEvent
Function OnTransformToWolf()
self.GetTargetActor().PlaceAtMe(_00E_FS_Affinity_Druid_FrostnovaExp)
EndFunction