Skip to content

Add Devices#3

Merged
TurtIeSocks merged 1 commit into
mainfrom
add-devices
Mar 12, 2021
Merged

Add Devices#3
TurtIeSocks merged 1 commit into
mainfrom
add-devices

Conversation

@TurtIeSocks

Copy link
Copy Markdown
Collaborator
  • Add Device Support
  • Slight refactoring

- Add Device Support
- Slight refactoring
@TurtIeSocks
TurtIeSocks merged commit 3c8f52a into main Mar 12, 2021
@TurtIeSocks
TurtIeSocks deleted the add-devices branch March 12, 2021 03:52
TurtIeSocks pushed a commit that referenced this pull request Jan 15, 2022
TurtIeSocks added a commit that referenced this pull request Nov 9, 2022
Mygod pushed a commit that referenced this pull request Jul 7, 2025
feat(client): drop defenders from extra info, fix defenders hearth
jfberry added a commit to jfberry/ReactMap that referenced this pull request Jul 20, 2026
…pgap

Golbat WatWowMap#382 now decodes TEMP_EVO_BRANCH_RESOURCE (reward type 20 — temp-evo
branch = mega energy) into info.pokemon_id/amount, filling the generated
quest_pokemon_id/quest_reward_amount columns exactly like a MEGA_RESOURCE
(type 12) reward. So type 20 is now handled as mega everywhere:

- SQL getAll: mega matching broadened to quest_reward_type IN (12, 20).
- SQL getAvailable: queries.mega/megaAlt advertise (12, 20); type 20 excluded
  from the u<type> fallback set; megaBranchFallback machinery removed.
- SQL search: a 'mega' reward-type search also matches type 20.
- parseRdmRewards: any type-20 reward carrying info.pokemon_id is normalized to
  type 12 so the mega branch keys it as m<id>-<amount> (sourceQuestRewardType
  still preserves a u20 filter).
- Endpoint DNF (buildPokestopDnfFilters): mega clauses emit quest_reward_type
  [12, 20] so Golbat returns type-20 mega stops.

The empty-info GoFest 2026 Mewtwo stopgap (applyGoFest2026MewtwoRewardFallback
+ hardcoded m150-150) is retired — it required empty info and stops matching
once Golbat WatWowMap#382 populates it. Requires deployed Golbat >= PR WatWowMap#382.

Addresses Mygod review comment WatWowMap#3 (type-20 mega retrievability).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant