From 3044099832a88e6a7e1a0028b3403192713d2730 Mon Sep 17 00:00:00 2001 From: Benefit-Zebra <42458260+Benefit-Zebra@users.noreply.github.com> Date: Sat, 4 Jul 2020 14:01:57 +0530 Subject: [PATCH] Added comment for changes --- assets/src/ba_data/python/bastd/actor/bomb.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/src/ba_data/python/bastd/actor/bomb.py b/assets/src/ba_data/python/bastd/actor/bomb.py index c5cb74a7..ae6d0666 100644 --- a/assets/src/ba_data/python/bastd/actor/bomb.py +++ b/assets/src/ba_data/python/bastd/actor/bomb.py @@ -1011,6 +1011,10 @@ class Bomb(ba.Actor): # impact-bombs by all impacts. if not ispunched and (not self._exploded or self.bomb_type in ['impact', 'land_mine']): + # We don't want to give the credit and points to player, + # who punched the bomb of other player in a chain reaction. + # And this will protect the bomb from getting hit_type 'punch'. + # Also lets change the owner of the bomb to whoever is setting # us off. (this way points for big chain reactions go to the # person causing them).