diff options
Diffstat (limited to 'competences.c')
-rw-r--r-- | competences.c | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/competences.c b/competences.c index e25acf1..7acd8b9 100644 --- a/competences.c +++ b/competences.c @@ -66,55 +66,3 @@ void Fremplircompetencesennemis (ENNEMIS ennemis[],int Vnbennemis) } } } - -void Fremplircompetencesallie (PERSONNAGES persos[]) -{ - int i; - - for(i=0;i<3;i++) - { - if(persos[i].classe==PALADIN) - { - persos[i].xp = 0; - persos[i].nv = 0; - persos[i].force = 20; - persos[i].magie = 5; - persos[i].defense = 15; - persos[i].defensemagique = 10; - persos[i].pv = 1500; - persos[i].pvinitiaux = 1500; - persos[i].pminitiaux = 40; - persos[i].pm = 40; - persos[i].etat = VIE; - } - else if (persos[i].classe == PRETRE) - { - persos[i].xp = 0; - persos[i].nv = 0; - persos[i].force = 5; - persos[i].magie = 20; - persos[i].defense = 10; - persos[i].defensemagique = 20; - persos[i].pv = 1000; - persos[i].pvinitiaux = 1000; - persos[i].pminitiaux = 40; - persos[i].pm = 40; - persos[i].etat = VIE; - } - else if (persos[i].classe == VOLEUR) - { - persos[i].xp = 0; - persos[i].nv = 0; - persos[i].force = 14; - persos[i].magie = 11; - persos[i].defense = 15; - persos[i].defensemagique = 15; - persos[i].pv = 1250; - persos[i].pvinitiaux = 1250; - persos[i].pminitiaux = 40; - persos[i].pm = 40; - persos[i].etat = VIE; - } - } -} - |