|
|
@ -7,17 +7,13 @@
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!$aussetzten_runde) { /////DAS FUER MAJIN ATTACKEN
|
|
|
|
################### Spieler 1
|
|
|
|
################### Spieler 1
|
|
|
|
|
|
|
|
|
|
|
|
if ($technick1['type'] == 'reborn') {
|
|
|
|
if ($technick1['type'] == 'reborn') {
|
|
|
|
$k_mp[0] = $k_mp[0] - $technick1['mp'];
|
|
|
|
$k_mp[0] = $k_mp[0] - $technick1['mp'];
|
|
|
|
if ($k_mp[0] >= 0) {
|
|
|
|
if ($k_mp[0] >= 0) {
|
|
|
|
if($k_hp[0] <= 0) {
|
|
|
|
$reborn_hp[0] = ($k_hp1[1] / 100) * $technick1['hp'];
|
|
|
|
$k_hp[0] = ($k_hp1[1] / 100) * $technick1['hp'];
|
|
|
|
|
|
|
|
$schaden_1 = 'Reborn!';
|
|
|
|
$schaden_1 = 'Reborn!';
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$schaden_1 = 'Technik fehlgeschlagen';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$schaden_1 = 'Technik fehlgeschlagen';
|
|
|
|
$schaden_1 = 'Technik fehlgeschlagen';
|
|
|
|
$k_mp[0] = 0;
|
|
|
|
$k_mp[0] = 0;
|
|
|
@ -31,12 +27,8 @@ if ($technick1['type'] == 'reborn') {
|
|
|
|
if ($technick2['type'] == 'reborn') {
|
|
|
|
if ($technick2['type'] == 'reborn') {
|
|
|
|
$k_mp[1] = $k_mp[1] - $technick2['mp'];
|
|
|
|
$k_mp[1] = $k_mp[1] - $technick2['mp'];
|
|
|
|
if ($k_mp[1] >= 0) {
|
|
|
|
if ($k_mp[1] >= 0) {
|
|
|
|
if($k_hp[1] <= 0) {
|
|
|
|
$reborn_hp[1] = ($k_hp2[1] / 100) * $technick2['hp'];
|
|
|
|
$k_hp[1] = ($k_hp2[1] / 100) * $technick2['hp'];
|
|
|
|
|
|
|
|
$schaden_2 = 'Reborn!';
|
|
|
|
$schaden_2 = 'Reborn!';
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$schaden_2 = 'Technik fehlgeschlagen';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$schaden_2 = 'Technik fehlgeschlagen';
|
|
|
|
$schaden_2 = 'Technik fehlgeschlagen';
|
|
|
|
$k_mp[0] = 0;
|
|
|
|
$k_mp[0] = 0;
|
|
|
@ -44,3 +36,16 @@ if ($technick2['type'] == 'reborn') {
|
|
|
|
|
|
|
|
|
|
|
|
$aktion_AV2[$x] = 'nein';
|
|
|
|
$aktion_AV2[$x] = 'nein';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(isset($reborn_hp[0]) && $k_hp[0] <= 0) {
|
|
|
|
|
|
|
|
$k_hp[0] = $reborn_hp[0];
|
|
|
|
|
|
|
|
unset($reborn_hp[0]);
|
|
|
|
|
|
|
|
$schaden_1 .= '<br>Reborn!';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(isset($reborn_hp[1]) && $k_hp[0] <= 0) {
|
|
|
|
|
|
|
|
$k_hp[0] = $reborn_hp[1];
|
|
|
|
|
|
|
|
unset($reborn_hp[1]);
|
|
|
|
|
|
|
|
$schaden_2 .= '<br>Reborn!';
|
|
|
|
|
|
|
|
}
|
|
|
|