Konterheal eingebaut, hpmp-bug behoben

main
radiskull 13 years ago
parent 9ace684d30
commit 0d7d449885

@ -15,7 +15,7 @@ if ($technick1['type'] == "konterhp") {
$schaden_1 = "Keine MP";
$aktion_AV1[$x] = "nein";
} else {
$k_hp[1] = $k_hp[1] - $tmp_hp[1];
$k_hp[1] -= $tmp_hp[1];
$schaden_1 = "$tmp_hp[1]";
if($tmp_hp[1] > 0) {
$schaden_2 = "Konter!";
@ -38,7 +38,7 @@ if ($technick2['type'] == "konterhp") {
$schaden_2 = "Keine MP";
$aktion_AV2[$x] = "nein";
} else {
$k_hp[0] = $k_hp[0] - $tmp_hp[0];
$k_hp[0] -= $tmp_hp[0];
$schaden_2 = "$tmp_hp[0]";
if($tmp_hp[0] > 0) {
$schaden_1 = "Konter!";

@ -5,34 +5,40 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
$aussetzten_runde = ""; ////// MUSS SO BLEIBEN WICHTIG
////// MUSS SO BLEIBEN WICHTIG
$aussetzten_runde = "";
$tmp_hp[0] = 0;
$tmp_hp[1] = 0;
##################################MP, SSJ Verwandlungen, HP, Koerper Tausch Technicken
include "kampf/majin.php";
include (ROOT_PATH . 'kampf/majin.php');
if(!$aussetzten_runde) {
include "kampf/tausch2.php"; //////////////////Muss ganz oben sein wegen technik Tauschen
if (!$aussetzten_runde) { /////DAS FUER MAJIN ATTACKEN
include (ROOT_PATH . 'kampf/tausch2.php'); //////////////////Muss ganz oben sein wegen technik Tauschen
include (ROOT_PATH . 'kampf/gift.php');
include (ROOT_PATH . 'kampf/frucht.php');
include (ROOT_PATH . 'kampf/mp.php');
include (ROOT_PATH . 'kampf/hp.php');
include (ROOT_PATH . 'kampf/hp2.php');
include (ROOT_PATH . 'kampf/SSJ.php');
include (ROOT_PATH . 'kampf/kaioken.php');
include (ROOT_PATH . 'kampf/kaioken2.php');
include (ROOT_PATH . 'kampf/copy.php');
include (ROOT_PATH . 'kampf/lose.php');
include (ROOT_PATH . 'kampf/lose2.php');
include (ROOT_PATH . 'kampf/ausdauer.php');
include (ROOT_PATH . 'kampf/mpv.php');
include (ROOT_PATH . 'kampf/hpmp.php');
//Als letztes um alle HP-Attacken zu kontern (in $tmp_hp gespeichert)
include (ROOT_PATH . 'kampf/konter_heal.php');
//Nach Konterheal, damit überstehende HP bleibt
include (ROOT_PATH . 'kampf/tausch.php');
//include "kampf/summon.php";
include "kampf/gift.php";
include "kampf/frucht.php";
include "kampf/mp.php";
include "kampf/hp.php";
include "kampf/hp2.php";
include "kampf/SSJ.php";
include "kampf/kaioken.php";
include "kampf/kaioken2.php";
include "kampf/copy.php";
include "kampf/lose.php";
include "kampf/lose2.php";
include "kampf/ausdauer.php";
include "kampf/mpv.php";
include "kampf/tausch.php";
include "kampf/hpmp.php";
}
include "kampf/atk_wert.php";
if(!$aussetzten_runde) { /////DAS FueR MAJIN ATTACKEN
include "kampf/schatten.php";
include "kampf/runde.php";
include (ROOT_PATH . 'kampf/atk_wert.php');
if (!$aussetzten_runde) { /////DAS FUER MAJIN ATTACKEN
include (ROOT_PATH . 'kampf/schatten.php');
include (ROOT_PATH . 'kampf/runde.php');
}

Loading…
Cancel
Save