Mass driver bullets are destroyed like the blocks with items (#10969)
* Mass driver bullets explosions like the blocks * Better code style --------- Co-authored-by: TempUser <temp@mail>
This commit is contained in:
@@ -299,7 +299,7 @@ public class MassDriver extends Block{
|
||||
|
||||
bullet.create(this, team,
|
||||
x + Angles.trnsx(angle, translation), y + Angles.trnsy(angle, translation),
|
||||
angle, -1f, bulletSpeed, bulletLifetime, data);
|
||||
angle, totalUsed/2f, bulletSpeed, bulletLifetime, data);
|
||||
|
||||
shootEffect.at(x + Angles.trnsx(angle, translation), y + Angles.trnsy(angle, translation), angle);
|
||||
smokeEffect.at(x + Angles.trnsx(angle, translation), y + Angles.trnsy(angle, translation), angle);
|
||||
|
||||
Reference in New Issue
Block a user