Commit d0461961 authored by Paul GEORGES's avatar Paul GEORGES
Browse files

modification degats

parent d117a5a8
......@@ -79,7 +79,7 @@ ListeB tir_update(ListeB LB, ListeP LP, ListeR LR, ListeE *LE, int time, int v,
switch(arme){
case 0:
if(time > tmp->data.tempsTirPrecedent + 300){
cons_listeB(&LB, nouvelle_balle(sprites[7], tmp->data.angle, 25, tmp->data.pos));
cons_listeB(&LB, nouvelle_balle(sprites[7], tmp->data.angle, 50, tmp->data.pos));
Mix_PlayChannel(1, sons[0], 0);
tmp->data.tempsTirPrecedent = time;
}
......
......@@ -49,8 +49,8 @@ Perso nouvel_ennemi_1(SDL_Renderer *renderer, ListeR LR, SDL_Texture **sprites,
p.srcrect.h = 259;
p.angle = 0;
p.vie = 100;
p.degats = 10;
p.vitesse = 2;
p.degats = 5;
p.vitesse = 3;
p.yMax = 4403;
p.arme = -1;
p.tir = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment