|
|
|
@ -186,7 +186,7 @@ Function SelectEnemy(Actor iVictim) |
|
|
|
|
MarkFrenzyTargetVictim(iVictim) |
|
|
|
|
iFrezyAttackTargetMarked = True |
|
|
|
|
Else |
|
|
|
|
Levelsystem._00E_Levelsystem_sEnemyAlreadyMarked.Show() |
|
|
|
|
_00E_Levelsystem_sEnemyAlreadyMarked.Show() |
|
|
|
|
MAGFail.Play(PlayerREF) |
|
|
|
|
EndIf |
|
|
|
|
Else |
|
|
|
@ -203,7 +203,7 @@ Function MarkFrenzyVictim(Actor iFrenzyVictim) |
|
|
|
|
MarkingRuneREF = iFrenzyVictim.PlaceAtMe(_00E_A2_EldritchBloodMarkedRune, 1) |
|
|
|
|
A2_EldritchBlood_Rune.ForceRefTo(MarkingRuneREF) |
|
|
|
|
A2_EldritchBlood_Victim.ForceRefTo(iFrenzyVictim) |
|
|
|
|
Levelsystem._00E_Levelsystem_sEldritchBloodVictimMarked.Show() |
|
|
|
|
_00E_Levelsystem_sEldritchBloodVictimMarked.Show() |
|
|
|
|
_00E_A2_EldritchBloodMarkedFXS.Play(iFrenzyVictim) |
|
|
|
|
iFrenzyVictim.AddSpell(_00E_A2_EldritchBloodAbMarkedVictimSP) |
|
|
|
|
_00E_A2_GhostwalkSelectM.Play(PlayerREF) |
|
|
|
@ -215,7 +215,7 @@ Function MarkFrenzyTargetVictim(Actor iFrenzyTargetVictim) |
|
|
|
|
MarkingVictimRuneREF = iFrenzyTargetVictim.PlaceAtMe(_00E_A2_EldritchBloodMarkedTargetRune, 1) |
|
|
|
|
A2_EldritchBlood_VictimRune.ForceRefTo(MarkingVictimRuneREF) |
|
|
|
|
A2_EldritchBlood_VictimTarget.ForceRefTo(iFrenzyTargetVictim) |
|
|
|
|
Levelsystem._00E_Levelsystem_sEldritchBloodAttackTargetMarked.Show() |
|
|
|
|
_00E_Levelsystem_sEldritchBloodAttackTargetMarked.Show() |
|
|
|
|
_00E_A2_EldritchBloodMarkedVictimFXS.Play(iFrenzyTargetVictim) |
|
|
|
|
iFrenzyTargetVictim.AddSpell(_00E_A2_EldritchBloodAbMarkedVictimTargetSP) |
|
|
|
|
_00E_A2_GhostwalkSelectM.Play(PlayerREF) |
|
|
|
@ -231,7 +231,7 @@ Function UnmarkEnemy(Actor iVictim) |
|
|
|
|
A2_EldritchBlood_Victim.Clear() |
|
|
|
|
MarkingRuneREF.Disable() |
|
|
|
|
iFrenzyTargetMarked = False |
|
|
|
|
Levelsystem._00E_Levelsystem_sEldritchBloodVictimMarkingRemoved.Show() |
|
|
|
|
_00E_Levelsystem_sEldritchBloodVictimMarkingRemoved.Show() |
|
|
|
|
iVictim.RemoveSpell(_00E_A2_EldritchBloodAbMarkedVictimSP) |
|
|
|
|
_00E_A2_EldritchBloodMarkedFXS.Stop(iVictim) |
|
|
|
|
_00E_A2_GhostwalkDeselectM.Play(PlayerREF) |
|
|
|
@ -241,7 +241,7 @@ Function UnmarkEnemy(Actor iVictim) |
|
|
|
|
A2_EldritchBlood_VictimTarget.Clear() |
|
|
|
|
MarkingVictimRuneREF.Disable() |
|
|
|
|
iFrezyAttackTargetMarked = False |
|
|
|
|
Levelsystem._00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved.Show() |
|
|
|
|
_00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved.Show() |
|
|
|
|
iVictim.RemoveSpell(_00E_A2_EldritchBloodAbMarkedVictimTargetSP) |
|
|
|
|
_00E_A2_EldritchBloodMarkedVictimFXS.Stop(iVictim) |
|
|
|
|
_00E_A2_GhostwalkDeselectM.Play(PlayerREF) |
|
|
|
@ -255,12 +255,12 @@ bool Function IsTargetValid(Actor CheckVictim) |
|
|
|
|
If CheckVictim.IsInFaction(PlayerAlliesFaction) |
|
|
|
|
Return False |
|
|
|
|
ElseIf CheckVictim.HasKeyword(MagicNoEldritchBlood) |
|
|
|
|
Levelsystem._00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show() |
|
|
|
|
_00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show() |
|
|
|
|
Return False |
|
|
|
|
Elseif CheckVictim == PlayerREF |
|
|
|
|
Return False |
|
|
|
|
Elseif EnemyLevelTooHigh(CheckVictim) |
|
|
|
|
Levelsystem._00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show() |
|
|
|
|
_00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show() |
|
|
|
|
Return False |
|
|
|
|
Else |
|
|
|
|
Return True |
|
|
|
@ -306,7 +306,12 @@ Bool iFrezyAttackTargetMarked |
|
|
|
|
|
|
|
|
|
_00E_A2_EldritchBloodPlayerMarkSC A2_EldritchBlood_PlayerForScript |
|
|
|
|
|
|
|
|
|
_00E_QuestFunctions Property Levelsystem Auto |
|
|
|
|
Message Property _00E_Levelsystem_sEnemyAlreadyMarked Auto |
|
|
|
|
Message Property _00E_Levelsystem_sEldritchBloodVictimMarked Auto |
|
|
|
|
Message Property _00E_Levelsystem_sEldritchBloodAttackTargetMarked Auto |
|
|
|
|
Message Property _00E_Levelsystem_sAbilityEnemyLevelTooHigh Auto |
|
|
|
|
Message Property _00E_Levelsystem_sEldritchBloodVictimMarkingRemoved Auto |
|
|
|
|
Message Property _00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved Auto |
|
|
|
|
|
|
|
|
|
GlobalVariable Property _00E_A2_EldritchBloodGlobal Auto |
|
|
|
|
GlobalVariable Property PlayerLevel Auto |
|
|
|
|