}else{ # 敵キャラ通常攻撃処理 &bogu_bt; } } else { # &bogu_bt; # ここが変更場所 } # } $log .="</font>\n"; # 負け処理 &battle_lost if($hp <= 0 && $type eq '修行中');