From f63c280439a2101ff6db3d62bb0ac4a45a71c4e8 Mon Sep 17 00:00:00 2001 From: Michael G <10155689+DarthMDev@users.noreply.github.com> Date: Thu, 30 Jul 2026 04:15:24 -0400 Subject: [PATCH] DistributedGolfSpot: Add config option to have classic TTO golf damage --- toontown/coghq/DistributedGolfSpot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/toontown/coghq/DistributedGolfSpot.py b/toontown/coghq/DistributedGolfSpot.py index 6ce166c..109bd2d 100644 --- a/toontown/coghq/DistributedGolfSpot.py +++ b/toontown/coghq/DistributedGolfSpot.py @@ -716,7 +716,10 @@ class DistributedGolfSpot(DistributedObject.DistributedObject, FSM.FSM): throwerId)) if flyBallCode == ToontownGlobals.PieCodeBossCog and self.avId == localAvatar.doId and self.lastHitSequenceNum != self.__flyBallSequenceNum: self.lastHitSequenceNum = self.__flyBallSequenceNum - self.boss.d_ballHitBoss(2) + if base.config.GetBool('want-ceo-golf-classic-damage', False): + self.boss.d_ballHitBoss(1) + else: + self.boss.d_ballHitBoss(2) elif flyBallCode == ToontownGlobals.PieCodeToon and self.avId == localAvatar.doId and self.lastHitSequenceNum != self.__flyBallSequenceNum: self.lastHitSequenceNum = self.__flyBallSequenceNum avatarDoId = entry.getIntoNodePath().getNetTag('avatarDoId')