hedgewars/uGearsList.pas
changeset 13154 44351ea57b71
parent 13096 d78e65c66573
child 13347 e7b89e87a1b3
equal deleted inserted replaced
13153:2a53b598c1ae 13154:44351ea57b71
   744                 gear^.Elasticity:= _0_6;
   744                 gear^.Elasticity:= _0_6;
   745                 gear^.Friction:= _0_8;
   745                 gear^.Friction:= _0_8;
   746                 gear^.Density:= _0_5;
   746                 gear^.Density:= _0_5;
   747                 gear^.AdvBounce:= 1;
   747                 gear^.AdvBounce:= 1;
   748                 end;
   748                 end;
   749        gtMinigun: begin
   749      gtMinigun: begin
   750                 if gear^.Timer = 0 then gear^.Timer:= 601;
   750                 // Timer. First, it's the timer before shooting. Then it will become the shooting timer and is set to Karma
       
   751                 if gear^.Timer = 0 then
       
   752                     gear^.Timer:= 601;
       
   753                 // minigun shooting time. 1 bullet is fired every 50ms
       
   754                 gear^.Karma:= 3451;
   751                 end;
   755                 end;
   752  gtMinigunBullet: begin
   756  gtMinigunBullet: begin
   753                 gear^.Radius:= 1;
   757                 gear^.Radius:= 1;
   754                 gear^.Health:= 2;
   758                 gear^.Health:= 2;
   755                 end;
   759                 end;