|
本帖最後由 易卜拉辛 於 2025-7-27 20:06 編輯
我更新了游戏 本次重大更新內容包括:- 實裝四大種族獨特技能:每個種族都將擁有源於其背景故事的被動技能,從選擇角色的那一刻起,您的策略路線就已與眾不同。
- 棋盤地形機制啟動:五大地形不再僅僅是背景,它們將擁有獨特的規則,影響資源獲取、移動和事件觸發,成為您策略佈局中不可或缺的一環。
- 全新資源系統:「資源」將作為第二種貨幣加入遊戲,可用於發動技能、購買科技或規避災難,為遊戲增加了經濟管理的維度。
- 事件卡牌庫深化:加入了更具策略性的「誘惑」型宗教卡,以及與世界觀緊密相連的「陰府計畫」進度條,每一次踏入陰府格都可能加速「世界末日」的到來!
- 本次的重大更新將實現以下所有內容:
- 「遭遇格」機制全面實裝:棋盤上所有普通格子都將擁有獨一無二的、源於《宇宙歷史》背景的微型事件。
- 深度策略選擇:從軍火交易到絲路貿易,從修築長城到破解科技封鎖,您在每個遭遇格的抉擇都將直接影響您的資源與智慧。
- 種族與事件的動態互動:特定的種族在面對特定事件時將擁有獨特的優勢,例如「中國鼠者」可以憑藉其外交手腕化解「諸侯割據」的危機。
- 手牌系統初登場:透過特定事件,您將有機會獲得珍貴的「歷史事件牌」作為手牌,為未來的回合預留強大的策略後手。
- 視覺提示優化:為新的「遭遇格」增加了視覺效果,讓您能清晰地分辨棋盤上的每一種機遇與挑戰。
- // --- New Encounter Events ---
- const ENCOUNTER_EVENTS = {
- 1: { title: "啟程的抉擇", description: "作為旅程的起點,你必須為接下來的鬥爭做好準備。", type: 'choice',
- optionA: { text: "領取基礎資源", effect: p => { p.resources += 2; return `你獲得了2點資源。`; }},
- optionB: { text: "刺探地緣政治 (1資源)", effect: p => { p.resources -= 1; /* Logic to peek at history card needed */ return `你窺見了歷史的一角。`; }, condition: p => p.resources >= 1 }
- },
- 2: { title: "軍火交易", description: "你遇到了一位來自美國狗者勢力的神秘軍火商。", type: 'choice',
- optionA: { text: "購買過時武器 (3資源)", effect: p => { p.resources -= 3; p.wisdom += 1; return `你用資源換取了智慧,+1智慧。`; }, condition: p => p.resources >= 3 },
- optionB: { text: "購買先進武器 (5資源)", effect: (p, o) => { p.resources -= 5; o.pos = Math.max(1, o.pos - 3); return `你的對手被迫後退3格。`; }, condition: p => p.resources >= 5 }
- },
- 5: { title: "殖民地糾紛", description: "你發現了一塊資源豐富但無人宣告主權的土地。", type: 'choice',
- optionA: { text: "宣示主權", effect: p => { p.resources += 2; p.skipNextRollBonus = true; return `你獲得2點資源,但下回合擲骰-1。`; }},
- optionB: { text: "保持低調", effect: p => `你避免了爭端。` }
- },
- 7: { title: "科技封鎖", description: "此地正遭受來自太陽出口處強權的科技封鎖,發展受限。", type: 'choice',
- optionA: { text: "破解封鎖 (1智慧)", effect: p => { p.wisdom -= 1; return `你耗費心神破解了封鎖。`; }, condition: p => p.wisdom >= 1 },
- optionB: { text: "原地停留", effect: p => { p.skipTurns = 1; return `你選擇等待時機,停留一回合。`; } }
- },
- 10: { title: "絲路貿易", description: "你遇到了一支來自遠方的商隊,他們希望與你進行物資交換。", type: 'choice',
- optionA: { text: "以智換資 (1智慧)", effect: p => { p.wisdom -= 1; p.resources += 3; return `你交換了3點資源。`; }, condition: p => p.wisdom >= 1 },
- optionB: { text: "以資換智 (3資源)", effect: p => { p.resources -= 3; p.wisdom += 1; return `你交換了1點智慧。`; }, condition: p => p.resources >= 3 }
- },
- 11: { title: "長城防禦", description: "你來到中國精靈鼠者為抵禦外敵而修築的雄偉長城腳下。", type: 'choice',
- optionA: { text: "協助修築", effect: p => { p.skipTurns = 1; p.resources += 3; return `你辛勤工作,獲得3點資源,但需停留一回合。`; }},
- optionB: { text: "尋找破口", effect: p => { const roll = Math.floor(Math.random() * 6) + 1; if (roll >= 5) { p.pos = Math.min(BOARD_SIZE, p.pos + 2); return `你發現密道,前進2格!`; } return `你一無所獲。`; }}
- },
- 13: { title: "諸侯割據", description: "此地正陷入中國龍族群的內亂,情勢十分混亂。", type: 'effect',
- effect: p => { if (p.raceKey === 'rat') return `身為中國鼠者,你憑藉外交手腕化解了危機。`; p.resources = Math.max(0, p.resources - 1); return `混亂中你失去了1點資源。`; }
- },
- 14: { title: "繁體字的傳承", description: "你發現了一卷記載著古老象形文字的竹簡,這是陰府計畫中必須保護的文化遺產。", type: 'choice',
- optionA: { text: "解讀 (1智慧)", effect: p => { p.wisdom -= 1; /* Add history card to hand */ return `你獲得了歷史的啟示。`; }, condition: p => p.wisdom >= 1 },
- optionB: { text: "置之不理", effect: p => `你錯過了探索真相的機會。` }
- },
- 17: { title: "外族滲透", description: "你發現了外國間諜的蹤跡,他們正試圖竊取這片富饒土地的情報。", type: 'choice',
- optionA: { text: "揭發他們", effect: (p, o) => { p.wisdom += 2; o.resources += 2; return `你獲得2點智慧,但對手也收到了2點資源作為封口費。`; }},
- optionB: { text: "視而不見", effect: p => `你選擇明哲保身。` }
- },
- 19: { title: "地窖釀酒", description: "你受邀品嚐了當地利用獨特地窖溫差釀造的烈酒。", type: 'choice',
- optionA: { text: "開懷暢飲 (1資源)", effect: p => { p.resources -= 1; p.nextRollBonus = 2; return `你精神大振,下回合擲骰+2。`; }, condition: p => p.resources >= 1 },
- optionB: { text: "婉言謝絕", effect: p => `你保持了清醒。` }
- },
- 22: { title: "黑市交易", description: "你進入了一個龍蛇混雜的黑市,充滿了高風險的交易機會。", type: 'choice',
- optionA: { text: "出賣良知 (2智慧)", effect: p => { p.wisdom -= 2; p.resources += 5; return `你用智慧換取了5點資源。`; }, condition: p => p.wisdom >= 2 },
- optionB: { text: "購買情報 (5資源)", effect: p => { p.resources -= 5; p.wisdom += 2; return `你用資源換取了2點智慧。`; }, condition: p => p.resources >= 5 }
- },
- 23: { title: "逃靈作祟", description: "一股不祥的氣息籠罩著你。此地是水界逃靈最常作祟的地方。", type: 'effect',
- effect: p => { const roll = Math.floor(Math.random() * 6) + 1; if (roll <= 3) { p.wisdom = Math.max(0, p.wisdom - 1); return `你的心智受到干擾,失去1點智慧。`; } else { p.resources = Math.max(0, p.resources - 1); return `你的行囊被竊,失去1點資源。`; }}
- }
- };
複製代碼 - 利不再是簡單的數字達標。當您滿足勝利條件後,將進入「覺醒狀態」,必須克服最後的挑戰,抵達終點,才能真正宣告勝利,大大增加了遊戲的緊張感和成就感。
-
- 本次更新的重點如下:
- 修正「覺醒之路」卡死 Bug:已按照您的建議修改 rollDice() 函式的判斷條件,現在遊戲在 'awakening' 階段也能正常擲骰,確保您可以順利完成最終的挑戰。
- 新增「強制解決」按鈕:在控制面板的底部,我為您增加了一個紅色的「強制解決」按鈕。當您感覺遊戲因任何原因卡住時(例如,按鈕無法點擊),按下此按鈕將會重設當前回合的狀態,解除鎖定,讓您可以繼續遊戲。
如何開始:
- 選擇種族:遊戲開始時,兩位玩家需要分別從四個種族中選擇一個。當兩位玩家都選擇完畢後,「開始遊戲」按鈕便會啟用。
- 進行遊戲:點擊「擲骰子」來移動,您的棋子會根據點數在棋盤上前進。
- 觸發事件:停留在不同顏色的格子上會觸發對應的事件。部分「歷史」事件需要您在彈出的對話框中做出抉擇。
- 結束回合:完成移動和事件後,點擊「結束回合」將控制權交給下一位玩家。
- 達成勝利:當有玩家的「智慧」點數達到10點,或繞行棋盤3圈後回到起點時,遊戲便會結束。
這個版本已經是一個完整的遊戲,您可以和朋友一起體驗。(那个pdf档案 直接放置在html会有错误 压缩档没这个问题)(这个是更新版)
歷史覺醒:思想之旅 (策略升級版).rar
(12.8 KB, 下載次數: 8)
|
|