In der Detailuebersicht der Attacken wurden neue Rassen nicht gemeldet, aber NPC schon.

main
hecht 10 years ago
parent c31c4544c4
commit f8f932db73

@ -29,57 +29,6 @@ $kampf_lose2 = 1; //////// MP Wegmachen
$kampf_majin = 1; /////// Jemnand als majin machen. $kampf_majin = 1; /////// Jemnand als majin machen.
$kampf_tausch2 = 3; /////// Attacke Kopieren. $kampf_tausch2 = 3; /////// Attacke Kopieren.
$rassen_werte = array(
"Mensch", ///0
"Saiyajin", ///1
"Dämon", ///2
"Mutant", ///3
"Cyborg", ///4
"Namekianer", ///5
"Pirat", ///6
"Shichibukai", ///7
"Kaioshin", ///8
"Schwertkämpfer", ///9
"Grandline Maschine", ///10
"01", ///11
"Leaf Dorf", ///12
"Sand Dorf", ///13
"Sound Dorf" ///14
);
#############################
if($char_1[rasse] == "$rassen_werte[0]") { $sup_rasse = 1; }
else if($char_1[rasse] == "$rassen_werte[1]") { $sup_rasse = 2; }
else if($char_1[rasse] == "$rassen_werte[2]") { $sup_rasse = 3; }
else if($char_1[rasse] == "$rassen_werte[3]") { $sup_rasse = 4; }
else if($char_1[rasse] == "$rassen_werte[4]") { $sup_rasse = 5; }
else if($char_1[rasse] == "$rassen_werte[5]") { $sup_rasse = 6; }
else if($char_1[rasse] == "$rassen_werte[6]") { $sup_rasse = 7; }
else if($char_1[rasse] == "$rassen_werte[7]") { $sup_rasse = 8; }
else if($char_1[rasse] == "$rassen_werte[8]") { $sup_rasse = 9; }
else if($char_1[rasse] == "$rassen_werte[9]") { $sup_rasse = 10; }
else if($char_1[rasse] == "$rassen_werte[10]") { $sup_rasse = 11; }
else if($char_1[rasse] == "$rassen_werte[12]") { $sup_rasse = 13; }
else if($char_1[rasse] == "$rassen_werte[13]") { $sup_rasse = 14; }
else if($char_1[rasse] == "$rassen_werte[14]") { $sup_rasse = 15; }
else{ $sup_rasse = 16; }
############################# FUSION
if($char_1[fusion_rasse] == "$rassen_werte[0]") { $sup_rasse1 = 1; }
else if($char_1[fusion_rasse] == "$rassen_werte[1]") { $sup_rasse1 = 2; }
else if($char_1[fusion_rasse] == "$rassen_werte[2]") { $sup_rasse1 = 3; }
else if($char_1[fusion_rasse] == "$rassen_werte[3]") { $sup_rasse1 = 4; }
else if($char_1[fusion_rasse] == "$rassen_werte[4]") { $sup_rasse1 = 5; }
else if($char_1[fusion_rasse] == "$rassen_werte[5]") { $sup_rasse1 = 6; }
else if($char_1[fusion_rasse] == "$rassen_werte[6]") { $sup_rasse1 = 7; }
else if($char_1[fusion_rasse] == "$rassen_werte[7]") { $sup_rasse1 = 8; }
else if($char_1[fusion_rasse] == "$rassen_werte[8]") { $sup_rasse1 = 9; }
else if($char_1[fusion_rasse] == "$rassen_werte[9]") { $sup_rasse1 = 10; }
else if($char_1[fusion_rasse] == "$rassen_werte[10]") { $sup_rasse1 = 11; }
else{ $sup_rasse1 = 16; }
########Energie Anzeige ########Energie Anzeige
$k3 = $hp1[1] / 100; $k3 = $hp1[1] / 100;
if($hp1[0] <= $k3 * 99.9) { $energie = 90; } if($hp1[0] <= $k3 * 99.9) { $energie = 90; }

@ -80,25 +80,24 @@ function showAttDetails($at_id) {
<?php <?php
$rassen_1 = explode(",", $at_info['rassen']); $rassen_1 = explode(",", $at_info['rassen']);
$runde = 0; $npc_type = getRaceTypeName('NPC'); // do not remove npc (there is a separate setting for this)
include (ROOT_PATH . '//include/array.php');
while ($runde +1 < count($rassen_1)) { for($runden = 1; $runden <= count($rassen_1); $runden++) {
$rasse = getRaceById($runden);
$runden = $runde +1; if($rasse['type'] == $npc_type['id']){
$rassen_na = $rassen_1[$runde] - 1; continue;
$rassen_name = $rassen_werte[$rassen_na]; }
$rassen_name = $rasse['name'];
?> ?>
<tr> <tr>
<td width="158" height="25"> <td width="158" height="25">
<p align="center"><b>Rassen <?php echo $runden; ?></b></td> <p align="center"><b>Rassen</b></td>
<td width="340" height="25">&nbsp;<?php echo $rassen_name; ?></td> <td width="340" height="25">&nbsp;<?php echo $rassen_name; ?></td>
</tr> </tr>
<?php <?php
$runde++;
} }
$x = 0; $x = 0;
$req_x = 0; $req_x = 0;

Loading…
Cancel
Save