Skip to content
Snippets Groups Projects
Commit 8de21e29 authored by Romain Jegat's avatar Romain Jegat
Browse files

fonction attaquer - Ne prends pas tout en compte, mais devrait suffit pour...

fonction attaquer - Ne prends pas tout en compte, mais devrait suffit pour l'instant - Il faudrait savoir combien d'effets chaque attaque possède...
parent d81c07d3
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -15,9 +15,12 @@
int attaquer(Personnage *attaquant, Attaque *attaque_select, Personnage *cible)
{
int i=0;
(attaquant->mana) -= (attaque_select->mana);
for(i=0; i<5; i++)
{
// ajouter_effet(attaquant, attaque_select->effets[i], cible);
ajouter_effet_perso(attaque_select->effets[i], cible);
}
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment