Skip to content

Commit

Permalink
Fix player 14 sharing #238
Browse files Browse the repository at this point in the history
  • Loading branch information
SMUnlimited committed Feb 25, 2024
1 parent 49190d6 commit d8f0a77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fixed an issue where AMAI would share heroes with each other on defeat which is not intended behaviour and could break score screens.
- Fixed a minor issue related related to forming assault groups.
- Fixed issue where upkeep calculations were still being ignored.
- (Classic) Fixed an issue where player 14 would share with the creeps.
- (Classic) Fixed game start crash with AMAI vs AI. (jzy-chitong56)
- (Classic) Fixed some TFT settings not in sync with REFORGED.
- (DevTools) Fixed the optimize all script and the makeAll and optimizeAll scripts will pause between versions.
Expand Down
4 changes: 2 additions & 2 deletions ROC/blizzard.j
Original file line number Diff line number Diff line change
Expand Up @@ -5000,7 +5000,7 @@ endfunction
function ConfigureNeutralVictim takes nothing returns nothing
local integer index
local player indexPlayer
local player neutralVictim = Player(bj_PLAYER_NEUTRAL_VICTIM)
local player neutralVictim = Player(bj_PLAYER_NEUTRAL_VICTIM_AMAI)

set index = 0
loop
Expand All @@ -5024,7 +5024,7 @@ endfunction

//===========================================================================
function MakeUnitsPassiveForPlayerEnum takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(), Player(bj_PLAYER_NEUTRAL_VICTIM), false)
call SetUnitOwner(GetEnumUnit(), Player(bj_PLAYER_NEUTRAL_VICTIM_AMAI), false)
endfunction

//===========================================================================
Expand Down
4 changes: 2 additions & 2 deletions TFT/blizzard.j
Original file line number Diff line number Diff line change
Expand Up @@ -5000,7 +5000,7 @@ endfunction
function ConfigureNeutralVictim takes nothing returns nothing
local integer index
local player indexPlayer
local player neutralVictim = Player(bj_PLAYER_NEUTRAL_VICTIM)
local player neutralVictim = Player(bj_PLAYER_NEUTRAL_VICTIM_AMAI)

set index = 0
loop
Expand All @@ -5024,7 +5024,7 @@ endfunction

//===========================================================================
function MakeUnitsPassiveForPlayerEnum takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(), Player(bj_PLAYER_NEUTRAL_VICTIM), false)
call SetUnitOwner(GetEnumUnit(), Player(bj_PLAYER_NEUTRAL_VICTIM_AMAI), false)
endfunction

//===========================================================================
Expand Down

0 comments on commit d8f0a77

Please sign in to comment.