Entropic Blood: fixed inability to select a strong enemy as attack target; fixed the high level warning not showing up when targeted someone else's minion
This commit is contained in:
parent
c6b34691a8
commit
76516a087b
Binary file not shown.
@ -214,12 +214,11 @@ EndFunction
|
||||
|
||||
Function SelectEnemy(Actor iVictim)
|
||||
|
||||
If ! IsTargetValid(iVictim)
|
||||
return
|
||||
EndIf
|
||||
|
||||
If !IsTargetMarked(iVictim)
|
||||
If !iFrenzyTargetMarked
|
||||
If ! IsTargetValid(iVictim)
|
||||
return
|
||||
EndIf
|
||||
MarkFrenzyVictim(iVictim)
|
||||
iFrenzyTargetMarked = True
|
||||
Elseif !iFrezyAttackTargetMarked
|
||||
@ -287,7 +286,7 @@ EndFunction
|
||||
|
||||
bool Function IsTargetValid(Actor CheckVictim)
|
||||
|
||||
If CheckVictim.IsInFaction(PlayerAlliesFaction) || CheckVictim.IsCommandedActor() || CheckVictim.IsPlayerTeammate()
|
||||
If CheckVictim.IsInFaction(PlayerAlliesFaction) || CheckVictim.IsPlayerTeammate()
|
||||
Return False
|
||||
ElseIf CheckVictim.HasKeyword(MagicNoEldritchBlood)
|
||||
_00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user