Nun werden die korrekten Rassen bei den Attacken dargestellt

main
hecht 10 years ago
parent 7880e4f26d
commit ebf0f7f49d

@ -82,8 +82,8 @@ function showAttDetails($at_id) {
$rassen_1 = explode(",", $at_info['rassen']); $rassen_1 = explode(",", $at_info['rassen']);
$npc_type = getRaceTypeName('NPC'); // do not remove npc (there is a separate setting for this) $npc_type = getRaceTypeName('NPC'); // do not remove npc (there is a separate setting for this)
for($runden = 1; $runden <= count($rassen_1); $runden++) { for($runden = 0; $runden < count($rassen_1); $runden++) {
$rasse = getRaceById($runden); $rasse = getRaceById($rassen_1[$runden]);
if($rasse['type'] == $npc_type['id']){ if($rasse['type'] == $npc_type['id']){
continue; continue;
} }

Loading…
Cancel
Save