fixed runden attacke

main
hecht 6 years ago
parent d5ed35d619
commit 0b8d8144a3

@ -14,6 +14,11 @@ if($technick1['type'] == 'runde') {
$schaden_1 = $technick1['name'] . ' fehlgeschlagen';
$aktion_AV1[$x] = 'nein';
$k_mp[0] = 0;
// set the tech stats to 0
$technick1['starke'] = 0;
$technick1['speed'] = 0;
$technick1['verteidigung'] = 0;
$play1_ausweich = 0;
} else {
if($runden_type1 < $technick1['hp']-1) { /////////HP wert sagt an wieviel runden die technik dauert
@ -30,11 +35,17 @@ if($technick1['type'] == 'runde') {
}
if($technick2['type'] == 'runde') {
$k_mp[1] = $k_mp[1] - $technick2['mp'];
if($k_mp[1] < 0) {
$schaden_2 = $technick2['name'] . ' fehlgeschlagen';
$aktion_AV2[$x] = 'nein';
$k_mp[1] = 0;
$k_mp[1] = $k_mp[1] - $technick2['mp'];
if($k_mp[1] < 0) {
$schaden_2 = $technick2['name'] . ' fehlgeschlagen';
$aktion_AV2[$x] = 'nein';
$k_mp[1] = 0;
// set the tech stats to 0
$technick2['starke'] = 0;
$technick2['speed'] = 0;
$technick2['verteidigung'] = 0;
$play2_ausweich = 0;
} else {
if($runden_type2 < $technick2['hp']-1) { /////////HP wert sagt an wieviel runden die technik dauert
@ -48,4 +59,4 @@ $k_mp[1] = 0;
}
}
}
?>
?>

Loading…
Cancel
Save