Dead Frontier Weapon Data - Patch Notes
Version 1.2
Updated Damage per Hit Parsing: Modified the scraper to extract the new Damage per Hit (DPH) structure from the Dead Frontier Wiki, supporting base, multiplier, total, and critical keys. Replaced the outdated real and critical format to align with updated wiki data.
Supported Multiplier Formats: Enhanced parsing to handle weapons with multiplier-based DPH (e.g., Sub-Machine Guns, Heavy Machine Guns), extracting base and multiplier values and calculating total (e.g., 8 x 2 = 16). For non-multiplier weapons (e.g., pistols, melee), only total and critical are extracted.
Improved Explosive Weapon Data: Ensured dps.critical, dps.theoretical_critical, and dph.critical values are accurately scraped for Grenade Launchers and Flamethrowers, supporting the tooltip script's relabeling of these as "Avg. DPS AoE", "Avg. DPS AoE Theoretical", and "Damage per Hit AoE".
Enhanced Data Reliability: Added validation to handle inconsistent wiki formats, ensuring all weapons have complete DPS, DPH, and HPS data in the generated JSON, improving compatibility with the tooltip script.
These changes ensure the JSON data accurately reflects the wiki's updated weapon stats, supports the tooltip script's new DPH display and bonus calculations, and provides reliable data for explosive weapons' AoE terminology.