Skip to content

Commit

Permalink
Boost MushBeacon weapon rating
Browse files Browse the repository at this point in the history
  • Loading branch information
wallabra committed Dec 2, 2023
1 parent c579a91 commit d5e6b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions Classes/MushBeacon.uc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
class MushBeacon extends TournamentWeapon;


var bool bRating;
var float BeaconFirerate;


Expand Down Expand Up @@ -129,12 +128,7 @@ function float RateSelf(out int bUseAltMode)
// don't bring up if not a match contestant
if (!Pawn(Owner).bIsPlayer)
return -2;

if (bRating)
return Score;

bRating = true;


Score = -50;
bUseAltMode = 0;

Expand Down Expand Up @@ -162,8 +156,7 @@ function float RateSelf(out int bUseAltMode)
return -1;
}

Score = Max(200, 1024 - VSize(Owner.Location - Pawn(Owner).Enemy.Location)) / 4;
bRating = false;
Score += Max(400, 4 * (1024 - VSize(Owner.Location - Pawn(Owner).Enemy.Location)));

return Score;
}
Expand Down
2 changes: 1 addition & 1 deletion buildconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
export name="Mush Match"
export package=MushMatch
export version=1.3.4
export build=20231206
export build=20231207
export debug=1
export makeint=1
export incl_readme=1
Expand Down

0 comments on commit d5e6b9e

Please sign in to comment.