Skip to content

Sync 24 upstream data files with PoE2 dev branch#11

Merged
kokagex merged 5 commits intopob2macos_stage2from
feat/upstream-data-sync
Feb 19, 2026
Merged

Sync 24 upstream data files with PoE2 dev branch#11
kokagex merged 5 commits intopob2macos_stage2from
feat/upstream-data-sync

Conversation

@kokagex
Copy link
Copy Markdown
Owner

@kokagex kokagex commented Feb 19, 2026

Summary

  • Replaced 24 data files from upstream PathOfBuildingCommunity/PathOfBuilding-PoE2 dev branch
  • Updated Data.lua for compatibility: metatable safety guards, PoE2 weapon naming with legacy aliases, unarmed weapon data for PoE2 classes
  • Files synced: 5 StatDescriptions, ModCache, 6 Bases (sword/axe/mace/dagger/flail/staff), 2 Uniques/Special (New/race), Spectres, ModScalability, Minions, SkillStatMap, Misc, ModItemExclusive, Gems, Global, 2 TimelessJewelData

Compatibility fixes in Data.lua

  • Moved metatable safety guards from Misc.lua to Data.lua (upstream Misc.lua doesn't have them)
  • Updated weaponTypeInfo to PoE2 naming ("One Hand Axe" etc.) with legacy aliases ("One Handed Axe")
  • Added Warstaff type, renamed Staff label to "Quarterstaff"
  • Updated unarmedWeaponData to PoE2 classes (Ranger, Huntress, Warrior, Mercenary, Druid, Witch, Sorceress, Monk)

Test plan

  • App launches without errors
  • Skills and DPS display correctly
  • Item bases load correctly (swords, axes, maces, daggers, flails, staves)
  • Unique items display correctly

🤖 Generated with Claude Code

kokagex and others added 5 commits February 19, 2026 23:03
Replace all high-priority data files with upstream versions:

StatDescriptions (5 files): Updated mod/skill/gem descriptions
ModCache.lua: Refreshed mod parsing cache (+11.8k/-4k lines)
Bases (6 files): Updated weapon bases, removed DNT placeholders,
  added flail/dagger entries
Uniques (2 files): New uniques, removed PoE1 race items
Global.lua: Added KeywordFlag.Arrow (required by synced calc engine)
SkillStatMap.lua: Arrow keyword integration
Minions.lua: Updated weapon types to PoE2 naming
Spectres.lua: Updated spectre data
Misc.lua: Updated constants (removes local metatable guards)
TimelessJewelData (2 files): Updated legion/node data
Gems.lua, ModScalability.lua, ModItemExclusive.lua: Minor updates

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Move setmetatable safety guards for characterConstants/monsterConstants
  from Misc.lua to Data.lua (survives future data syncs)
- Update weaponTypeInfo to PoE2 naming ("One Hand" format) with
  Warstaff and Quarterstaff label, keep legacy "One Handed" aliases
  for backward compatibility with TradeQuery/locale files
- Update unarmedWeaponData to PoE2 classes (Ranger, Huntress, Warrior,
  Mercenary, Druid, Witch, Sorceress, Monk) with correct CritChance
  from characterConstants

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ypes

Upstream ModParser.lua (synced in Phase 1) creates mod value tables with
mixed key types (string "mod" + numeric [1]), but local ModTools.lua used
plain table.sort which crashes when comparing strings with numbers.
Adds upstream's custom comparator to both formatTag and formatValue.

Fixes launch crash: "attempt to compare string with number" triggered by
Blackened Heart ascendancy node processing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move 24 data files from "Not Synced" to "Synced" section under Phase 2.
Document compatibility fixes (Data.lua metatable guards, ModTools.lua
sort comparator). Note formatTag comparator as local defensive addition.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kokagex kokagex merged commit a573e52 into pob2macos_stage2 Feb 19, 2026
1 check passed
@kokagex kokagex deleted the feat/upstream-data-sync branch February 21, 2026 04:22
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