44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
|
Scriptname _00E_A2_StarlingdummyDetSC extends activemagiceffect
|
||
|
|
||
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
||
|
|
||
|
If A2_Starlingdummy_SpiderAlias.GetActorReference() == None
|
||
|
(PlayerREF as _00E_Game_TalentControlSC).SetTalentRecoveryTime(_00E_A2_Starlingdummy, 1)
|
||
|
|
||
|
If _00E_A2_StarlingdummyTut.GetValueInt() == 0 && _00E_DisableSkillTutorials.GetValueInt() == 0
|
||
|
|
||
|
_00E_A2_Tutorial_Starlingdummy.Show()
|
||
|
_00E_A2_StarlingdummyTut.SetValueInt(1)
|
||
|
|
||
|
EndIf
|
||
|
|
||
|
_00E_A2_StarlingdummyProjSP.Cast(PlayerREF)
|
||
|
WPNSwingUnarmedM.Play(PlayerREF)
|
||
|
Else
|
||
|
Self.Dispel()
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Event OnEffectFinish(Actor akTarget, Actor akCaster)
|
||
|
|
||
|
If A2_Starlingdummy_SpiderAlias.GetActorReference() != None
|
||
|
A2_Starlingdummy_SpiderAlias.Detonate()
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Actor Property PlayerREF Auto
|
||
|
|
||
|
Spell Property _00E_A2_StarlingdummyProjSP Auto
|
||
|
|
||
|
Sound Property WPNSwingUnarmedM Auto
|
||
|
|
||
|
GlobalVariable Property _00E_A2_StarlingdummyTut Auto
|
||
|
GlobalVariable Property _00E_DisableSkillTutorials Auto
|
||
|
|
||
|
Message Property _00E_A2_Tutorial_Starlingdummy Auto
|
||
|
|
||
|
_00E_A2_StarlingdummySpiderSC Property A2_Starlingdummy_SpiderAlias Auto
|
||
|
|
||
|
Shout Property _00E_A2_Starlingdummy Auto
|