feat: 流砂迷宮 カッターズクライ 完全攻略ページの作成およびリンク追加
This commit is contained in:
1 parent
9b561d9b6b
commit
5d6e5276d3
5 files changed
+361
-36
No files matched your search
@@ -117,7 +117,8 @@ const WIKI_NAV_CONFIG = {
|
||||
{ text: '記憶幻想 アレクサンドリア (Lv100)', path: 'dungeons/alexandria.html' },
|
||||
|
||||
{ text: 'ブレイフロクスの野営地 (Lv32)', path: 'dungeons/brayflox.html' },
|
||||
{ text: 'カルン埋没寺院 (Lv35)', path: 'dungeons/sunken_temple.html' }
|
||||
{ text: 'カルン埋没寺院 (Lv35)', path: 'dungeons/sunken_temple.html' },
|
||||
{ text: 'カッターズクライ (Lv38)', path: 'dungeons/cutter_cry.html' }
|
||||
|
||||
]
|
||||
|
||||
|
||||
@@ -140,6 +140,7 @@
|
||||
|
||||
<li><a href="../dungeons/brayflox.html">ブレイフロクスの野営地 (Lv32)</a></li>
|
||||
<li><a href="../dungeons/sunken_temple.html">カルン埋没寺院 (Lv35)</a></li>
|
||||
<li><a href="../dungeons/cutter_cry.html">カッターズクライ (Lv38)</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -0,0 +1,324 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="FF14 流砂迷宮 カッターズクライ (Lv38) の完全攻略解説。大ボス・キマイラの「山羊の頭(離れる)」「羊の頭(足元安地)」詠唱判別手順、流砂ワープ進行、各ボスの攻撃タイムライン、タンクの立ち位置・まとめ進行基準、初心者が全滅しやすいポイントを徹底網羅。">
|
||||
<title>流砂迷宮 カッターズクライ (Lv38) 完全攻略 - FF14 攻略Wiki</title>
|
||||
<link rel="stylesheet" href="../common/css/seesaa_neutral_gray.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="wiki-wrapper">
|
||||
|
||||
<!-- ヘッダー -->
|
||||
<header id="wiki-header">
|
||||
<div class="wiki-site-title"><a href="../index.html">FINAL FANTASY XIV 総合攻略Wiki</a></div>
|
||||
<div class="wiki-site-description">光の戦士のための実戦立ち回り・ダンジョン/レイド攻略・XHB設計・育成ロードマップ集成 (パッチ7.x 黄金のレガシー対応)</div>
|
||||
</header>
|
||||
|
||||
<!-- グローバルナビ -->
|
||||
<nav id="wiki-global-nav">
|
||||
<!-- wiki_common.js により自動生成 -->
|
||||
</nav>
|
||||
|
||||
<div id="wiki-container">
|
||||
|
||||
<!-- サイドバー -->
|
||||
<aside id="wiki-sidebar">
|
||||
<iframe src="../common/sidebar.html" class="wiki-sidebar-iframe" title="共通サイドメニュー"></iframe>
|
||||
</aside>
|
||||
|
||||
<!-- メインコンテンツ -->
|
||||
<main id="wiki-main">
|
||||
|
||||
<!-- パンくずリスト -->
|
||||
<nav class="wiki-breadcrumb">
|
||||
<a href="../index.html">Home</a> > <a href="index.html">ダンジョン攻略一覧</a> > 流砂迷宮 カッターズクライ (Lv38) 完全攻略
|
||||
</nav>
|
||||
|
||||
<!-- ページヘッダー -->
|
||||
<header class="wiki-page-header">
|
||||
<h1 class="wiki-h1">流砂迷宮 カッターズクライ (Lv38) 完全攻略</h1>
|
||||
<p class="wiki-page-desc">
|
||||
中央ザナラーンの地下に広がるアリの巣窟と流砂の迷宮。<br>
|
||||
大ボス・キマイラ戦での<strong>「山羊の頭(氷結=離れる)」</strong>と<strong>「羊の頭(雷電=足元へ入る)」</strong>は、その後の数々の高難度レイドや討滅戦でも登場するFF14の最重要基本ギミック。
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<!-- クイック要点サマリー -->
|
||||
<div class="wiki-box-alert">
|
||||
<div class="wiki-box-title">⚡ 【最重要】カッターズクライで初心者が即死・全滅する4大注意点</div>
|
||||
<ol style="margin: 6px 0 0 18px; padding: 0; line-height: 1.7;">
|
||||
<li><strong>キマイラの「山羊(青)」と「羊(紫)」の判断(超重要):</strong>
|
||||
<ul style="margin: 4px 0;">
|
||||
<li><strong>「山羊の頭の目が青く光った!」(氷結) ➜ ボスから即座に【大きく離れる】</strong>(ボス周囲に超特大円形範囲。直撃で大ダメージ+凍結デバフ)。</li>
|
||||
<li><strong>「羊の頭の目が紫色に光った!」(雷電) ➜ ボスの【足元(ターゲットサークル内)へ駆け込む】</strong>(ドーナツ型広範囲。外側にいると即死級大ダメージ+麻痺)。</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><strong>キマイラの狙い撃ち雷玉(カカフォニー):</strong> ランダム1名に紫の球体が線で繋がれゆっくり追尾してくる。球体に触れると大爆発するため、<strong>対象者は外周を逃げ回り、ボスの詠唱に合わせて味方を巻き込まない位置で起爆</strong>させる。</li>
|
||||
<li><strong>ボス1(女王アリ)の増援処理:</strong> ボスHP低下で大量のアリが出現する。特に<strong>「ミュルミドン・マーシャル(兵隊)」は女王に回復魔法を飛ばし続けるため、DPSは最優先で撃破</strong>する。</li>
|
||||
<li><strong>流砂ワープ(流砂の渦)の進行:</strong> 道中の行き止まりにある「流砂の渦」に飛び込むことで次のフロアへ転送される。敵を殲滅しないと利用できない渦もあるため注意。</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<!-- 1. 基本データ -->
|
||||
<h2 id="section-basic" class="wiki-h2">1. コンテンツ基本データ&解放手順</h2>
|
||||
<table class="wiki-table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th style="width: 25%;">参加条件レベル</th>
|
||||
<td>ファイター/ソーサラー レベル38〜40(レベルシンク上限: Lv40)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>平均アイテムレベル (IL)</th>
|
||||
<td>制限なし(推奨IL: 35以上)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>参加人数</th>
|
||||
<td>4人PT(TANK: 1 / HEALER: 1 / DPS: 2)または 制限解除ソロ</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>コンテンツサポーター</th>
|
||||
<td><strong>対応</strong>(パッチ6.x改修によりNPCサポート突入可能)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>解放クエスト / 受注場所</th>
|
||||
<td>
|
||||
サブクエスト<strong>「約束の地、カッターズクライ」</strong><br>
|
||||
受注NPC: シビル(ウルダハ: ザル回廊 X:14.0 Y:10.1)<br>
|
||||
※メインクエスト「森からの救援要請」クリア後に受注可能。
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>クリア報酬</th>
|
||||
<td>
|
||||
・アラガントームストーン: 詩学 20個(初回クリア時ボーナスあり)<br>
|
||||
・経験値ボーナス(レベリングルーレット対象)<br>
|
||||
・装備品(ウォーロック装備・ペルト装備・ミリシアシリーズ素材等)
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- 2. 全体マップ進行・周回ルート・まとめ基準 -->
|
||||
<h2 id="section-map" class="wiki-h2">2. 全体マップ進行・流砂ワープ・まとめ進行基準</h2>
|
||||
<p>
|
||||
カッターズクライのマップは小部屋と流砂の渦で結ばれている。道中の敵は足止め攻撃(ヘヴィやバインド)を持つものが多いため、まとめ進行時は無理をしないことが肝要。
|
||||
</p>
|
||||
|
||||
<h3 class="wiki-h3">◆ グループまとめ進行の可否と推奨基準</h3>
|
||||
<table class="wiki-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 20%;">進行エリア</th>
|
||||
<th style="width: 25%;">まとめ推奨度</th>
|
||||
<th>タンク・ヒーラーの注意点と進行手順</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>スタート 〜 ボス1</td>
|
||||
<td><strong style="color: #ffc107;">【1〜2グループまで】</strong></td>
|
||||
<td>
|
||||
サボテンダーの「針千本」やサンドウォームの潜伏奇襲がある。針千本は詠唱中にスタンで止めるか範囲外へ逃げること。
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ボス1 〜 ボス2</td>
|
||||
<td><strong style="color: #1e7e34;">【2グループまとめ可】</strong></td>
|
||||
<td>
|
||||
流砂の渦手前まで敵をまとめて範囲殲滅可能。流砂に飛び込むとヘイトが切れる小技もあるが、CF野良では安全に全滅させてから進むのが推奨。
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ボス2 〜 ボス3</td>
|
||||
<td><strong style="color: #c82333;">【1グループ進行推奨】</strong></td>
|
||||
<td>
|
||||
広大な砂漠フロア。巡回する大型サンドワームやボムが乱入しやすく、敵の密度が高いため乱戦になりやすい。1グループずつ確実に倒しながら進む。
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- 3. 各ボス完全攻略 -->
|
||||
<h2 id="section-boss" class="wiki-h2">3. 各ボス完全攻略(使用技タイムライン・回避手順)</h2>
|
||||
|
||||
<!-- ボス1 -->
|
||||
<h3 class="wiki-h3">第1のボス: ミュルミドン・プリンセス (Myrmidon Princess)</h3>
|
||||
<p>
|
||||
大量のアリを統率する女王アリ。増援の兵隊アリによるボス回復の阻止が最優先ギミック。
|
||||
</p>
|
||||
|
||||
<table class="wiki-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 20%;">使用技名</th>
|
||||
<th style="width: 20%;">攻撃種別</th>
|
||||
<th>ギミック詳細および回避・対処手順</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>マンディブルバイト</strong></td>
|
||||
<td>タンク単体強攻撃</td>
|
||||
<td>ヘイト1位への噛みつき。防御バフで受ける。</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>サイレント・アシッド</strong></td>
|
||||
<td>ランダム対象遠隔毒弾</td>
|
||||
<td>対象者に小ダメージ+毒デバフを付与。ヒーラーは必要に応じてエスナで解除。</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>増援出現(ミュルミドン・マーシャル&ガード)</strong></td>
|
||||
<td>増援フェーズ</td>
|
||||
<td>
|
||||
ボスのHPが一定以下になると、部屋の外周から大量の雑魚アリが出現する。<br>
|
||||
<strong>「ミュルミドン・マーシャル(大型)」:</strong> 女王アリに「マンドディブルヒール」を詠唱してHPを回復し続ける。<strong>DPSはマーシャルが出現次第、最優先でターゲットを切り替えて速攻撃破</strong>する。<br>
|
||||
タンクはマーシャルの敵視を即座に取りつつ、範囲攻撃で取り巻きのアリ(ガード)のヘイトも維持する。
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- ボス2 -->
|
||||
<h3 class="wiki-h3">第2のボス: ジャイアント・トンネルワーム (Giant Tunnel Worm)</h3>
|
||||
<p>
|
||||
巨大なサンドワーム。砂の中に潜伏してからの奇襲突進と流砂フィールドの吸引が特徴。
|
||||
</p>
|
||||
|
||||
<table class="wiki-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 20%;">使用技名</th>
|
||||
<th style="width: 20%;">攻撃種別</th>
|
||||
<th>ギミック詳細および回避・対処手順</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>サンドストーム</strong></td>
|
||||
<td>全体風属性攻撃</td>
|
||||
<td>全体に小〜中ダメージ。ヒーラーは全体回復で戻す。</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>アースクエイク</strong></td>
|
||||
<td>ボス周囲円形範囲攻撃</td>
|
||||
<td>予兆円が表示されるため、範囲外へステップして回避する。</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>砂潜り ➜ 奇襲&流砂吸引</strong></td>
|
||||
<td>特殊全体ギミック</td>
|
||||
<td>
|
||||
ボスが砂の中に潜り、ターゲット不能になる。<br>
|
||||
床に砂埃が立ち、外周から中央へ向かって砂埃が移動する。その後<strong>部屋の中央に巨大な流砂(蟻地獄)が出現し、全員が中央へ吸い寄せられる</strong>。<br>
|
||||
<strong>【回避手順】:</strong> ボスが潜ったら<strong>部屋の外周の壁際へダッシュで退避</strong>する。流砂が発生したら、外周に向かって走り続けて吸い込みを防ぐ。中央に留まると連続特大ダメージを受けて即死する。
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- ボス3 -->
|
||||
<h3 class="wiki-h3">大ボス: キマイラ (Chimera)</h3>
|
||||
<p>
|
||||
獅子・山羊・竜が融合した魔獣。FF14の代名詞的ギミック「山羊の頭(離れる)」「羊の頭(足元)」を初めて体験する最重要ボス。
|
||||
</p>
|
||||
|
||||
<div class="wiki-box-alert">
|
||||
<div class="wiki-box-title">💡 キマイラの2大詠唱を見極める覚え方</div>
|
||||
<p style="margin: 4px 0; font-size: 14px; font-weight: bold; color: #007bff;">
|
||||
「山羊(青)は遠くへヤギ逃げろ! / 羊(紫)は足元の毛に潜り込め!」
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<table class="wiki-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 22%;">技名 / メッセージ</th>
|
||||
<th style="width: 18%;">攻撃種別</th>
|
||||
<th>ギミック詳細および回避・対処手順</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>山羊の頭の目が青く光った!</strong><br>
|
||||
(詠唱: 氷結の咆哮)
|
||||
</td>
|
||||
<td><strong style="color: #007bff;">ボス周囲特大円形</strong></td>
|
||||
<td>
|
||||
ボスの周囲広範囲に即死級の氷属性ダメージ+凍結デバフ。<br>
|
||||
<strong>【対処】: ボスから大きく離れる(約15m以上外側へ退避)。</strong>近接DPSやタンクも攻撃を中断して即座に外周へ逃げること。
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>羊の頭の目が紫色に光った!</strong><br>
|
||||
(詠唱: 雷電の咆哮)
|
||||
</td>
|
||||
<td><strong style="color: #6f42c1;">ドーナツ型超広範囲</strong></td>
|
||||
<td>
|
||||
ボスの足元を除くフィールド全域に即死級の雷属性ダメージ+麻痺デバフ。<br>
|
||||
<strong>【対処】: ボスの足元(ターゲットサークルの内側)へ密着する。</strong>遠隔DPSやヒーラーも遠くにいると直撃するため、詠唱が見えた瞬間にスプリント等でボスの真下へ駆け込むこと。
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>カカフォニー(雷玉追尾)</strong></td>
|
||||
<td>追尾型爆発球体</td>
|
||||
<td>
|
||||
キマイラが紫色の雷球を召喚し、パーティメンバー1名と紫の線で繋ぐ。<br>
|
||||
雷球は対象者をゆっくり追尾し、接触すると周囲を巻き込んで大爆発する。<br>
|
||||
<strong>【対処】:</strong> 対象者はボスの周囲にいる味方を巻き込まないよう、外周へ誘導して1人で起爆させる。
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>ライオンズブレス</strong></td>
|
||||
<td>前方扇状火炎ブレス</td>
|
||||
<td>タンク受け。タンクはキマイラの正面を常に外周に向け、味方に向けないよう固定する。</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>スコーピオンスティング</strong></td>
|
||||
<td>背面扇状範囲攻撃</td>
|
||||
<td>ボスの背後へ尻尾を振り下ろす攻撃。背後にいる近接DPSは詠唱中に側面へ避ける。</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- 4. ロール別立ち回り&全滅防止策 -->
|
||||
<h2 id="section-roles" class="wiki-h2">4. ロール別立ち回り&全滅防止チェックリスト</h2>
|
||||
|
||||
<h3 class="wiki-h3">🛡️ タンク(TANK)の立ち回り</h3>
|
||||
<ul style="line-height: 1.8;">
|
||||
<li><strong>キマイラの固定位置と向き:</strong> キマイラは前方扇状ブレス(ライオンズブレス)と背面攻撃(スコーピオンスティング)を持つため、部屋の中央寄りで外周に向けて固定し、パーティメンバーに背中を向けさせる。</li>
|
||||
<li><strong>氷結(山羊=青)での離脱:</strong> 「山羊の頭」のメッセージが見えたら、タンクであっても致命傷を受けるため、欲張らずに即座に後方へ逃げて円形範囲を避ける。詠唱完了後に元の位置へ戻る。</li>
|
||||
<li><strong>ボス1でのマーシャルタゲ取り:</strong> ミュルミドン・マーシャルが出現したら即座にロブや挑発を入れて自分へタゲを固定する。</li>
|
||||
</ul>
|
||||
|
||||
<h3 class="wiki-h3">💚 ヒーラー(HEALER)の立ち回り</h3>
|
||||
<ul style="line-height: 1.8;">
|
||||
<li><strong>キマイラ戦での立ち位置(中距離の危険性):</strong> ボスから中途半端に離れていると、「羊(雷電)」の時に足元まで間に合わず直撃する事故が最も多い。最初からボスのやや近め(または足元寄り)に陣取っておくと、雷電の安地に駆け込みやすい。</li>
|
||||
<li><strong>雷電直撃時の麻痺エスナ:</strong> パーティメンバーが雷電を受けて麻痺になった場合、行動不能で次のギミックを避けられなくなるため、即座に「エスナ」で解除する。</li>
|
||||
<li><strong>ボス2の流砂での全体ヒール:</strong> 砂潜りからの流砂フェーズでは持続的なスリップダメージと奇襲ダメージが入るため、メディカや士気高揚の策でPT全体のHPを高めに維持する。</li>
|
||||
</ul>
|
||||
|
||||
<h3 class="wiki-h3">⚔️ DPS(近接・遠隔・キャスター)の立ち回り</h3>
|
||||
<ul style="line-height: 1.8;">
|
||||
<li><strong>キマイラの詠唱注視(フォーカスターゲット推奨):</strong> ボスをフォーカスターゲット(Shift+F / □ボタン等)に設定し、詠唱バーを画面中央で見張る。「山羊=離れる」「羊=入る」を1文字目で見極めて瞬時に移動する。</li>
|
||||
<li><strong>雷玉(カカフォニー)の誘導:</strong> 自分に線が付いたら、近接DPSやタンクが戦っているボスの足元から離れ、外周で単独起爆させる。</li>
|
||||
<li><strong>ボス1でのマーシャル瞬殺:</strong> 女王アリのHPを回復させないよう、マーシャルが出現したら全単体バーストを叩き込んで一気に削り切る。</li>
|
||||
</ul>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<!-- フッター -->
|
||||
<footer id="wiki-footer">
|
||||
<p>© SQUARE ENIX CO., LTD. All Rights Reserved. | FINAL FANTASY XIV</p>
|
||||
<p>FF14 攻略Wiki (Seesaa Wiki ニュートラルグレー テンプレート完全準拠)</p>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="../common/js/wiki_common.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -299,6 +299,12 @@
|
||||
<td><strong>【死の宣告・即死回避の登竜門】</strong> 光るパネルでの解除、ハチのファイナルスピア阻止、天秤の彫像。</td>
|
||||
<td><a href="sunken_temple.html">攻略を見る ➜</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>流砂迷宮 カッターズクライ</strong></td>
|
||||
<td>Lv38 (新生2.0)</td>
|
||||
<td><strong>【キマイラ雷電・氷結の原点】</strong> 山羊(青)は離れる、羊(紫)は足元安地。流砂ワープ進行。</td>
|
||||
<td><a href="cutter_cry.html">攻略を見る ➜</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
|
||||
+28
-35
@@ -2,7 +2,7 @@
|
||||
import os
|
||||
import re
|
||||
|
||||
def save_clean_file(path, content):
|
||||
def clean_and_save(path, content):
|
||||
content = content.replace('\r\n', '\n').replace('\r', '\n')
|
||||
lines = [line.rstrip() for line in content.split('\n')]
|
||||
result_lines = []
|
||||
@@ -17,70 +17,63 @@ def save_clean_file(path, content):
|
||||
prev_empty = False
|
||||
while result_lines and result_lines[-1] == '':
|
||||
result_lines.pop()
|
||||
text = '\n'.join(result_lines) + '\n'
|
||||
text = '\r\n'.join(result_lines) + '\r\n'
|
||||
text = text.lstrip('\ufeff')
|
||||
# Windows上で autocrlf=true と調和するように \r\n で書き込むか \n で書き込むかをテスト
|
||||
with open(path, 'w', encoding='utf-8-sig', newline='\n') as f:
|
||||
f.write(text)
|
||||
with open(path, 'wb') as f:
|
||||
f.write(b'\xef\xbb\xbf' + text.encode('utf-8'))
|
||||
|
||||
def add_dungeon_entry(name, level, desc, url, sb_name):
|
||||
def add_dungeon_entry(name, level, desc, url, sb_name, prev_url):
|
||||
# 1. dungeons/index.html
|
||||
path_idx = 'dungeons/index.html'
|
||||
with open(path_idx, 'r', encoding='utf-8', errors='ignore') as f:
|
||||
c = f.read()
|
||||
with open(path_idx, 'rb') as f:
|
||||
c = f.read().decode('utf-8', errors='ignore')
|
||||
if url not in c:
|
||||
target = '<td><a href="brayflox.html">攻略を見る ➜</a></td>\n </tr>'
|
||||
target_crlf = '<td><a href="brayflox.html">攻略を見る ➜</a></td>\r\n </tr>'
|
||||
c = c.replace('\r\n', '\n')
|
||||
target = f'<a href="{prev_url}">攻略を見る ➜</a></td>\n </tr>'
|
||||
new_row = f'''\n <tr>
|
||||
<td><strong>{name}</strong></td>
|
||||
<td>{level}</td>
|
||||
<td>{desc}</td>
|
||||
<td><a href="{url}">攻略を見る ➜</a></td>
|
||||
</tr>'''
|
||||
c = c.replace('\r\n', '\n')
|
||||
if target in c:
|
||||
c = c.replace(target, target + new_row)
|
||||
else:
|
||||
c = re.sub(r'(<td><a href="[^"]*brayflox\.html"[^>]*>.*?</td>\s*</tr>)', r'\1' + new_row, c, flags=re.DOTALL)
|
||||
save_clean_file(path_idx, c)
|
||||
c = re.sub(rf'(<td><a href="[^"]*{re.escape(prev_url)}"[^>]*>.*?</td>\s*</tr>)', r'\1' + new_row, c, flags=re.DOTALL)
|
||||
clean_and_save(path_idx, c)
|
||||
print(f"Added {name} to {path_idx}")
|
||||
|
||||
# 2. common/sidebar.html
|
||||
path_sb = 'common/sidebar.html'
|
||||
with open(path_sb, 'r', encoding='utf-8', errors='ignore') as f:
|
||||
c = f.read()
|
||||
with open(path_sb, 'rb') as f:
|
||||
c = f.read().decode('utf-8', errors='ignore')
|
||||
new_sb = f'<li><a href="../dungeons/{url}">{sb_name}</a></li>'
|
||||
if new_sb not in c:
|
||||
c = c.replace('\r\n', '\n')
|
||||
target = '<li><a href="../dungeons/brayflox.html">ブレイフロクスの野営地 (Lv32)</a></li>'
|
||||
if target in c:
|
||||
c = c.replace(target, f'{target}\n {new_sb}')
|
||||
else:
|
||||
c = re.sub(r'(<li><a href="\.\./dungeons/brayflox\.html">.*?</li>)', r'\1\n ' + new_sb, c)
|
||||
save_clean_file(path_sb, c)
|
||||
target = f'<li><a href="../dungeons/{prev_url}">'
|
||||
c = re.sub(rf'(<li><a href="\.\./dungeons/{re.escape(prev_url)}">.*?</li>)', r'\1\n ' + new_sb, c)
|
||||
clean_and_save(path_sb, c)
|
||||
print(f"Added {sb_name} to {path_sb}")
|
||||
|
||||
# 3. common/js/wiki_common.js
|
||||
path_js = 'common/js/wiki_common.js'
|
||||
with open(path_js, 'r', encoding='utf-8', errors='ignore') as f:
|
||||
c = f.read()
|
||||
with open(path_js, 'rb') as f:
|
||||
c = f.read().decode('utf-8', errors='ignore')
|
||||
new_js = f"{{ text: '{sb_name}', path: 'dungeons/{url}' }}"
|
||||
if url not in c:
|
||||
c = c.replace('\r\n', '\n')
|
||||
target = "{ text: 'ブレイフロクスの野営地 (Lv32)', path: 'dungeons/brayflox.html' }"
|
||||
if target in c:
|
||||
c = c.replace(target, f"{target},\n {new_js}")
|
||||
else:
|
||||
c = re.sub(r"(\{ text: 'ブレイフロクス[^}]*brayflox\.html' \})", r"\1,\n " + new_js, c)
|
||||
save_clean_file(path_js, c)
|
||||
c = re.sub(rf"(\{{ text: '[^']*', path: 'dungeons/{re.escape(prev_url)}' \}})", r"\1,\n " + new_js, c)
|
||||
clean_and_save(path_js, c)
|
||||
print(f"Added {sb_name} to {path_js}")
|
||||
|
||||
if __name__ == '__main__':
|
||||
save_clean_file('dungeons/sunken_temple.html', open('dungeons/sunken_temple.html', 'r', encoding='utf-8', errors='ignore').read())
|
||||
# カッターズクライの正規化とリンク追加
|
||||
clean_and_save('dungeons/cutter_cry.html', open('dungeons/cutter_cry.html', 'r', encoding='utf-8', errors='ignore').read())
|
||||
add_dungeon_entry(
|
||||
'遺跡探索 カルン埋没寺院',
|
||||
'Lv35 (新生2.0)',
|
||||
'<strong>【死の宣告・即死回避の登竜門】</strong> 光るパネルでの解除、ハチのファイナルスピア阻止、天秤の彫像。',
|
||||
'sunken_temple.html',
|
||||
'カルン埋没寺院 (Lv35)'
|
||||
'流砂迷宮 カッターズクライ',
|
||||
'Lv38 (新生2.0)',
|
||||
'<strong>【キマイラ雷電・氷結の原点】</strong> 山羊(青)は離れる、羊(紫)は足元安地。流砂ワープ進行。',
|
||||
'cutter_cry.html',
|
||||
'カッターズクライ (Lv38)',
|
||||
'sunken_temple.html'
|
||||
)
|
||||
Reference in new issue
Block a user