fixed typos that caused trouble in displaying the clanfights!

main
hecht 13 years ago
parent 82f52c5268
commit ef0154121b

@ -463,7 +463,7 @@ function displayEventFightRound(array $char1_data, array $char2_data, array $cha
// Bild + Avantarinfo | Attacken + Schaden | Bild + Avantarinfo // Bild + Avantarinfo | Attacken + Schaden | Bild + Avantarinfo
// In einer Reihe allerdings // In einer Reihe allerdings
echo '<tr><td>'; echo '<tr><td>';
displayCharTable($char1_data['char_bild'], $char1_data['char_name'], $c1_str, $c1_def, $c1_spd, $c1_stm, $c1_lck, $c1_hp, $c1_hpMax, $c1_mp, $c1_hpMax ); displayCharTable($char1_data['char_bild'], $char1_data['char_name'], $c1_str, $c1_def, $c1_spd, $c1_stm, $c1_lck, $c1_hp, $c1_hpMax, $c1_mp, $c1_mpMax );
echo '</td><td>'; echo '</td><td>';
if($roundnr != 0){ if($roundnr != 0){
displayAttacks($char1_round_data['attack'], $char1_round_data['damage'], $char2_round_data['attack'], $char2_round_data['damage']); displayAttacks($char1_round_data['attack'], $char1_round_data['damage'], $char2_round_data['attack'], $char2_round_data['damage']);
@ -472,7 +472,7 @@ function displayEventFightRound(array $char1_data, array $char2_data, array $cha
} }
echo '</td><td>'; echo '</td><td>';
displayCharTable($char2_data['char_bild'], $char2_data['char_name'], $c2_str, $c2_def, $c2_spd, $c2_stm, $c2_lck, $c2_hp, $c2_hpMax, $c2_mp, $c2_hpMax ); displayCharTable($char2_data['char_bild'], $char2_data['char_name'], $c2_str, $c2_def, $c2_spd, $c2_stm, $c2_lck, $c2_hp, $c2_hpMax, $c2_mp, $c2_mpMax );
echo '</td></tr>'; echo '</td></tr>';
} }

@ -122,8 +122,8 @@ function calculateFight(array $char1, array $char2) {
$chara_1['mp_max'] = $k_mp1[1]; $chara_1['mp_max'] = $k_mp1[1];
$chara_2['hp'] = $k_hp[1]; $chara_2['hp'] = $k_hp[1];
$chara_2['hp_max'] = $k_hp2[1]; $chara_2['hp_max'] = $k_hp2[1];
$chara_2['mp'] = $k_hp[1]; $chara_2['mp'] = $k_mp[1];
$chara_2['mp_max'] = $k_hp2[1]; $chara_2['mp_max'] = $k_mp2[1];
$runde['char1_array'] = $chara_1; $runde['char1_array'] = $chara_1;
$runde['char2_array'] = $chara_2; $runde['char2_array'] = $chara_2;

Loading…
Cancel
Save