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