Skip to content
Snippets Groups Projects
Commit 18137ac7 authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

Stronger bombs.

parent c4270cc2
No related branches found
No related tags found
No related merge requests found
...@@ -278,6 +278,9 @@ class Blast(bs.Actor): ...@@ -278,6 +278,9 @@ class Blast(bs.Actor):
self.hitType = hitType; self.hitType = hitType;
self.hitSubType = hitSubType; self.hitSubType = hitSubType;
# anton boom
blastRadius *= 1.25
# blast radius # blast radius
self.radius = blastRadius self.radius = blastRadius
...@@ -464,6 +467,10 @@ class Blast(bs.Actor): ...@@ -464,6 +467,10 @@ class Blast(bs.Actor):
# new # new
mag = 2000.0 mag = 2000.0
# anton boom
mag *= 10
if self.blastType == 'ice': mag *= 0.5 if self.blastType == 'ice': mag *= 0.5
elif self.blastType == 'landMine': mag *= 2.5 elif self.blastType == 'landMine': mag *= 2.5
elif self.blastType == 'tnt': mag *= 2.0 elif self.blastType == 'tnt': mag *= 2.0
...@@ -600,7 +607,7 @@ class Bomb(bs.Actor): ...@@ -600,7 +607,7 @@ class Bomb(bs.Actor):
WarnMessage())) WarnMessage()))
else: else:
fuseTime = 3000 fuseTime = 1500
if self.bombType == 'sticky': if self.bombType == 'sticky':
sticky = True sticky = True
model = factory.stickyBombModel model = factory.stickyBombModel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment