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

Aperta Adatta ai principianti
#643 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
lua
Ambito
frontend, game-dev

Direzione di ricerca

Inizia con Map/Flights.lua, in particolare Known() e OnTaxiMap(), quindi confronta i nodi dei maestri di volo in Data/Forever/FlightData.lua. Riproduci su un druido dell'Orda volando da Nighthaven e controllando il segnalino sulla mappa. Fatto significa che i nodi 62 e 63 sono considerati appresi per i druidi idonei e compaiono nel pianificatore di percorsi che mostra solo i nodi appresi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Lua
Stelle
20
Fork
6
Merge medio
1g 13h
PR unite (30g)
81

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openmap-world/openmap

Tutte le issue di openmap-world/openmap

Issue simili

Altre issue su Lua

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.