From ef0154121bd180ee142f65711c7387c3c25a5c83 Mon Sep 17 00:00:00 2001 From: hecht Date: Thu, 12 Jan 2012 00:16:05 +0000 Subject: [PATCH] fixed typos that caused trouble in displaying the clanfights! --- ag/include/kampf_anzeige.inc.php | 4 ++-- ag/include/kampf_wrapper.inc.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ag/include/kampf_anzeige.inc.php b/ag/include/kampf_anzeige.inc.php index ce9d8aa..cc0e60d 100644 --- a/ag/include/kampf_anzeige.inc.php +++ b/ag/include/kampf_anzeige.inc.php @@ -463,7 +463,7 @@ function displayEventFightRound(array $char1_data, array $char2_data, array $cha // Bild + Avantarinfo | Attacken + Schaden | Bild + Avantarinfo // In einer Reihe allerdings echo ''; - 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 ''; if($roundnr != 0){ 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 ''; - 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 ''; } diff --git a/ag/include/kampf_wrapper.inc.php b/ag/include/kampf_wrapper.inc.php index 0d89974..8283351 100644 --- a/ag/include/kampf_wrapper.inc.php +++ b/ag/include/kampf_wrapper.inc.php @@ -122,8 +122,8 @@ function calculateFight(array $char1, array $char2) { $chara_1['mp_max'] = $k_mp1[1]; $chara_2['hp'] = $k_hp[1]; $chara_2['hp_max'] = $k_hp2[1]; - $chara_2['mp'] = $k_hp[1]; - $chara_2['mp_max'] = $k_hp2[1]; + $chara_2['mp'] = $k_mp[1]; + $chara_2['mp_max'] = $k_mp2[1]; $runde['char1_array'] = $chara_1; $runde['char2_array'] = $chara_2;