|
|
|
@ -11,11 +11,6 @@ Function RegisterForActions() |
|
|
|
|
RegisterForActorAction(4) |
|
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
|
Function UnregisterForActions() |
|
|
|
|
UnregisterForActorAction(3) |
|
|
|
|
UnregisterForActorAction(4) |
|
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
|
; Called by the magic effect (_00E_Game_TalentCooldownSC) |
|
|
|
|
Function RegisterCooldownMagicEffect(_00E_Game_TalentCooldownSC newCooldownMagicEffect) |
|
|
|
|
CooldownMagicEffect = newCooldownMagicEffect |
|
|
|
@ -67,10 +62,6 @@ State RealPlayer |
|
|
|
|
EndIf |
|
|
|
|
EndEvent |
|
|
|
|
|
|
|
|
|
Event OnCellLoad() |
|
|
|
|
RegisterForActions() |
|
|
|
|
EndEvent |
|
|
|
|
|
|
|
|
|
Event OnActorAction(int actionType, Actor akActor, Form source, int slot) |
|
|
|
|
Shout shoutUsed = source as Shout |
|
|
|
|
if(!shoutUsed) |
|
|
|
@ -80,15 +71,6 @@ State RealPlayer |
|
|
|
|
If actionType == 3 |
|
|
|
|
LastShoutUsed = shoutUsed |
|
|
|
|
EndIf |
|
|
|
|
|
|
|
|
|
If shoutUsed == _00E_A1_Onslaught |
|
|
|
|
If ActionType == 4 |
|
|
|
|
_00E_A1_OnslaughtCloakSP.Cast(self, self) |
|
|
|
|
;How was this suppsosed to work? |
|
|
|
|
;ElseIf ActionType == 3 |
|
|
|
|
; _00E_A1_Tutorial_Onslaught.ShowAsHelpMessage("Onslaught", 5, 1, 1) |
|
|
|
|
EndIf |
|
|
|
|
EndIf |
|
|
|
|
EndEvent |
|
|
|
|
|
|
|
|
|
Event OnSpellCast(Form maybeSpell) |
|
|
|
@ -114,14 +96,9 @@ EndState |
|
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto |
|
|
|
|
|
|
|
|
|
;Message Property _00E_A1_Tutorial_Onslaught Auto |
|
|
|
|
|
|
|
|
|
Spell Property _00E_A1_OnslaughtCloakSP Auto |
|
|
|
|
Spell Property _00E_Game_AbTalentCooldown Auto |
|
|
|
|
|
|
|
|
|
GlobalVariable Property _00E_Game_TalentControl_CooldownResetDesired Auto |
|
|
|
|
|
|
|
|
|
Shout Property _00E_A1_Onslaught Auto |
|
|
|
|
|
|
|
|
|
_00E_Game_TalentCooldownSC CooldownMagicEffect = None |
|
|
|
|
Shout LastShoutUsed = None |
|
|
|
|