[Scummvm-git-logs] scummvm master -> f9765abc2da214f82b97f40f7db71aba792def24

bluegr noreply at scummvm.org
Sat May 18 21:17:54 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f9765abc2d SCUMM: HE: BYB01 hit power change


Commit: f9765abc2da214f82b97f40f7db71aba792def24
    https://github.com/scummvm/scummvm/commit/f9765abc2da214f82b97f40f7db71aba792def24
Author: shkupfer (shkupf at gmail.com)
Date: 2024-05-19T00:17:51+03:00

Commit Message:
SCUMM: HE: BYB01 hit power change

This slightly changes the velocity of hits when the player is using a power swing.

The previous iteration of this mod reduced the velocity of hits with power swings, making them less effective relative to line drive and grounder swings. After 6+ months of competitive play, the consensus among the community is that this has made power swings not viable - using a line drive swing is almost always optimal, which makes gameplay less interesting.

This change is intended to make the decisions on what swing type to use more interesting.

Changed paths:
    engines/scumm/script.cpp


diff --git a/engines/scumm/script.cpp b/engines/scumm/script.cpp
index 68eca38862a..0a84b1ff6da 100644
--- a/engines/scumm/script.cpp
+++ b/engines/scumm/script.cpp
@@ -653,7 +653,7 @@ int ScummEngine::readVar(uint var) {
 					return powerStatModified;
 				case 1:  // Power swing
 					powerStat = vm.localvar[_currentScript][var];
-					powerStatModified = 20 + powerStat * 7 / 10;;
+					powerStatModified = 10 + powerStat * 17 / 20;;
 					return powerStatModified;
 				default:
 					break;




More information about the Scummvm-git-logs mailing list