Druid flight master in Nighthaven (node 63) always shows "Not learned"

未关闭 适合新手
#643 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
lua
领域
frontend, game-dev

调研方向

从 Map/Flights.lua 开始,重点关注 Known() 和 OnTaxiMap(),然后比较 Data/Forever/FlightData.lua 中的飞行大师节点。通过从 Nighthaven 飞行并检查地图上的图钉,在一个部落德鲁伊身上复现。完成标准是,对于符合条件的德鲁伊,节点 62 和 63 会被视为已学习,并出现在仅显示已学习节点的路线规划器中。

由索引模型根据 Issue 内容生成。

描述

bug forever
Game version

Forever

What happened?

What happens: The Nighthaven, Moonglade flight master pin (Data/Forever/FlightData.lua, node 63, the Horde druid-only flight master) always says "Not learned" and stays grey. This happens even after the druid has talked to that flight master and flown from it.

Why: Known() in Map/Flights.lua checks only char.flightsKnown, and OnTaxiMap() fills that list only when a flight map opens (TAXIMAP_OPENED). The druid flight masters in Nighthaven (nodes 62 and 63) never open a flight map. They offer the flight as a chat option ("I'd like to fly to Thunder Bluff" / "Rut'theran Village"), so their nodes never show up in TaxiNodeName and can never be counted as learned. That also keeps the "learned only" route planner from ever using them.

Suggested fix (either one):

Count nodes 62 and 63 as learned for druids of the matching faction. Every druid can use them, so there's nothing to discover.
Or count them as learned once the character has flown from them. While the player is flying, check that the flight started in Moonglade (taxi.flying with no taxi.here from a flight map).

Steps to reproduce:

On a Horde druid, go to Nighthaven and talk to the druid flight master. Pick the flight to Thunder Bluff.
Open the world map in Moonglade and hover the Nighthaven flight pin. It says "Not learned".
/reload. It still says "Not learned".

Lua error (if any)

OpenMap version

v0.8.10

Other addons

No response

主要语言
Lua
星标
20
派生
6
平均合并
1 天 13 小时
30 天内合并 PR
81

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

openmap-world/openmap 的其他 Issue

查看 openmap-world/openmap 的全部 Issue

相似的 Issue

更多 Lua Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。