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

Abierto Apto para principiantes
#643 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
76/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
lua

Línea de trabajo

Comienza con Map/Flights.lua, especialmente Known() y OnTaxiMap(), y luego compara los nodos de maestro de vuelo en Data/Forever/FlightData.lua. Reproduce en un druida de la Horda volando desde Nighthaven y comprobando el marcador del mapa. Hecho significa que los nodos 62 y 63 se consideran aprendidos para los druidas elegibles y aparecen en el planificador de rutas que muestra únicamente los nodos aprendidos.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Lua
Estrellas
20
Forks
6
Merge medio
1 d 13 h
PR fusionados (30 d)
81

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openmap-world/openmap

Todos los issues de openmap-world/openmap

Issues similares

Más issues de Lua

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.