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

Loading…
Cancel
Save