Fixed issue with wrong fusion race displayed after fusion

main
hecht 7 years ago
parent 9ddd5e09e5
commit 79f284ce94

@ -114,7 +114,7 @@ function usePotaraReally($user, $item_id, $char1, $char2, $new_name = ''){
$new_mp = ($mp1[1] + $mp2[1]); $new_mp = ($mp1[1] + $mp2[1]);
$sql = 'UPDATE chars SET fusion_rasse = \''.$char_v_2['rasse'].'\',' . $sql = 'UPDATE chars SET fusion_rasse = '.$char_v_2['rasse_a']['id'].',' .
'fusion=\'ja\',' . 'fusion=\'ja\',' .
// 'name=\''.$new_name.'\',' . // 'name=\''.$new_name.'\',' .
'starke=starke+'.$char_v_2['starke'].',' . 'starke=starke+'.$char_v_2['starke'].',' .
@ -137,7 +137,7 @@ function usePotaraReally($user, $item_id, $char1, $char2, $new_name = ''){
'liga_niederlagen = 0,' . 'liga_niederlagen = 0,' .
'clan_train = 0 ' . 'clan_train = 0 ' .
'where id = '.$char1; 'where id = '.$char1;
// echo $sql.'<br>'; // echo $sql.'<br>';
$qry = db_query($sql); $qry = db_query($sql);
// Umkopieren der Techniken // Umkopieren der Techniken

Loading…
Cancel
Save