forked from Mirrors/openclonk
balance grenade launcher projectiles
Decrease their mass to prevent too much damage when having a direct hit plus explosion. Also decrease the impact of the iron bomb explosion a bit to make it less overpowered.liquid_container
parent
f5a9412a35
commit
3f085a0532
|
@ -11,6 +11,6 @@ VertexX=-2,+2,0
|
|||
VertexY=5,5,-5
|
||||
VertexFriction=90,90,90
|
||||
Value=6
|
||||
Mass=8
|
||||
Mass=6
|
||||
Rotate=1
|
||||
Components=Coal=1;Firestone=1
|
||||
|
|
|
@ -11,6 +11,6 @@ VertexX=0,3,-3
|
|||
VertexY=-2,2,2
|
||||
VertexFriction=20,20,20
|
||||
Value=20
|
||||
Mass=10
|
||||
Mass=8
|
||||
Components=Metal=1;Firestone=1;
|
||||
Rotate=1
|
||||
|
|
|
@ -72,7 +72,7 @@ public func FxFuseBurnStop(object target, effect fx, int reason, bool temp)
|
|||
public func DoExplode()
|
||||
{
|
||||
// Cast lots of shrapnel.
|
||||
var shrapnel_count = 23;
|
||||
var shrapnel_count = 20;
|
||||
for (var cnt = 0; cnt < shrapnel_count; cnt++)
|
||||
{
|
||||
var shrapnel = CreateObjectAbove(Shrapnel);
|
||||
|
@ -86,7 +86,7 @@ public func DoExplode()
|
|||
else
|
||||
Sound("Fire::BlastMetal");
|
||||
CreateParticle("Smoke", PV_Random(-30, 30), PV_Random(-30, 30), 0, 0, PV_Random(40, 60), Particles_Smoke(), 60);
|
||||
Explode(30);
|
||||
Explode(28);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue