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

Đang mở Phù hợp với người mới
#643 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
76/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
lua
Lĩnh vực
frontend, game-dev

Hướng nghiên cứu

Bắt đầu với Map/Flights.lua, đặc biệt là Known() và OnTaxiMap(), rồi so sánh các nút người chủ tàu bay trong Data/Forever/FlightData.lua. Tái hiện trên một druid Horde bằng cách bay từ Nighthaven và kiểm tra ghim trên bản đồ. Hoàn thành có nghĩa là các nút 62 và 63 được coi là đã học đối với druid đủ điều kiện và xuất hiện trong trình lập kế hoạch tuyến đường chỉ hiển thị các nút đã học.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Lua
Star
20
Fork
6
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
81

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openmap-world/openmap

Tất cả issue của openmap-world/openmap

Issue tương tự

Thêm issue về Lua

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.