Skip to content

Commit

Permalink
Removed ward check setter that doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
SMUnlimited committed Dec 20, 2024
1 parent 6e818d4 commit 2ce7386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jobs/SEND_HOME.eai
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function SendUnitHomeJob takes unit u, integer p returns nothing
// Below attempt to heal myself
elseif (GetUnitAbilityLevel(u, 'Ahwd') > 0 or GetUnitAbilityLevel(u, 'AChw') > 0) and not ward_cast then
call RemoveGuardPosition(u)
set ward_cast = IssuePointOrder(u, "healingward", GetUnitX(u), GetUnitY(u))
call IssuePointOrder(u, "healingward", GetUnitX(u), GetUnitY(u))
call CreateDebugTag("SEND_HOME use healingward " + B2S(ward_cast), 10, u, 3.00, 1.50)
elseif GetUnitAbilityLevel(u, 'AChv') > 0 or (IsUnitType(u, UNIT_TYPE_HERO) and (GetUnitAbilityLevel(u, 'AOhw') > 0 or GetUnitAbilityLevel(u, 'ANhw') > 0)) then
call RemoveGuardPosition(u)
Expand Down

0 comments on commit 2ce7386

Please sign in to comment.