]> Skullheadx's Git Forge - Pygame-Jam.git/commitdiff
Merge branch 'main' of https://github.com/Skullheadx/Pygame-Jam
authorSkullheadx <704277@pdsb.net>
Wed, 13 Jul 2022 18:03:07 +0000 (14:03 -0400)
committerSkullheadx <704277@pdsb.net>
Wed, 13 Jul 2022 18:03:07 +0000 (14:03 -0400)
1  2 
Enemy.py
Game.py

diff --cc Enemy.py
index 7fbaf6fbb14edc019ed65cf999e9cb887577ba1e,04f5af6da46382b949c6c2d4d7125a76d9b00775..e8f605af6cd375a399c8cf74d586823cf6069555
+++ b/Enemy.py
@@@ -290,10 -290,10 +290,10 @@@ class King(Actor)
  
  
                  if (self.position - target.position).length_squared() > 750 ** 2:
 -                    self.ranged_attack.append(RangedAttack(target.position + pg.Vector2(0,-400),self.arrow_collision_mask, self.arrow_collision_layer))
 +                    self.ranged_attack.append(RangedAttack(target.position + pg.Vector2(0,-250),self.arrow_collision_mask, self.arrow_collision_layer))
                      self.attack_cooldown = random.randint(5,10) * 1000
                  else:
-                     print("Summon Skeles!")
+                     self.skeleton_attack = True
                      self.attack_cooldown = random.randint(5,10) * 1000
  
  
diff --cc Game.py
Simple merge