hedgewars/HHHandlers.inc
changeset 56 a29135563e94
parent 53 0e27949850e3
child 62 c3eda0c68cd6
equal deleted inserted replaced
55:e09f7c952a40 56:a29135563e94
    69                                  FollowGear:= AddGear(round(X), round(Y), gtDEagleShot,   0, xx * 0.5, yy * 0.5);
    69                                  FollowGear:= AddGear(round(X), round(Y), gtDEagleShot,   0, xx * 0.5, yy * 0.5);
    70                                  end;
    70                                  end;
    71                          amSkip: TurnTimeLeft:= 0;
    71                          amSkip: TurnTimeLeft:= 0;
    72                    amPickHammer: CurAmmoGear:= AddGear(round(Gear.X), round(Gear.Y) + cHHRadius, gtPickHammer, 0);
    72                    amPickHammer: CurAmmoGear:= AddGear(round(Gear.X), round(Gear.Y) + cHHRadius, gtPickHammer, 0);
    73                          amRope: CurAmmoGear:= AddGear(round(Gear.X), round(Gear.Y), gtRope, 0, xx, yy);
    73                          amRope: CurAmmoGear:= AddGear(round(Gear.X), round(Gear.Y), gtRope, 0, xx, yy);
    74                          amMine: AddGear(round(X) + Sign(dX) * 7, round(Y), gtMine, 0, Sign(dX) * 0.01, 0, 3000);
    74                          amMine: AddGear(round(X) + Sign(dX) * 7, round(Y), gtMine, 0, Sign(dX) * 0.02, 0, 3000);
    75                      amDynamite: AddGear(round(X) + Sign(dX) * 7, round(Y), gtDynamite, 0, Sign(dX) * 0.01, 0, 5000); 
    75                      amDynamite: AddGear(round(X) + Sign(dX) * 7, round(Y), gtDynamite, 0, Sign(dX) * 0.035, 0, 5000); 
    76                   end;
    76                   end;
    77         Power:= 0;
    77         Power:= 0;
    78         if CurAmmoGear <> nil then
    78         if CurAmmoGear <> nil then
    79            begin
    79            begin
    80            Gear.Message:= Gear.Message or gm_Attack;
    80            Gear.Message:= Gear.Message or gm_Attack;