Skip to content

LanYan-Cutie1805/Genshin_Team-Optimizer-v_0.2-beta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŸ Genshin Impact Team Optimizer โ€” Luna IV Version 0.2 Beta

A Python-based team rotation optimizer for Genshin Impact that helps players build the best 4-character team based on elements, roles, weapons, and elemental reactions โ€” all powered by a structured Excel database. Built for players who want logic-backed team building, not just vibes.

๐ŸŽฎ What Is This? This tool analyzes your available characters and finds the optimal team rotation by maximizing elemental reaction multipliers, while respecting team composition rules such as:

  • Main DPS
  • Sub DPS
  • Healer / Shield
  • Weapon & Element constraints It is designed to be:
  • Beginner-friendly ๐Ÿ‘ถ
  • Flexible for late-game players โš”๏ธ
  • Understandable for developers ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป

โœจ Features (v0.2 Beta)

โœ… Inventory input using nicknames

โœ… Weapon filtering (Sword, Claymore, Bow, Catalyst, Polearm)

โœ… Element exclusion filter

โœ… Role-based team validation

โœ… Build choice selection

โœ… Best team rotation order (1 โ†’ 4)

๐Ÿง  How the Optimizer Thinks

  1. Load & clean database
  2. Ask user for owned characters
  3. Apply weapon filters
  4. Apply element exclusion
  5. (Optional) Enforce role rules
  6. Resolve dual-role characters (build choice)
  7. Generate all valid 4-character teams
  8. Test all possible rotations
  9. Pick the team with the highest reaction multiplier score ๐Ÿ“Œ A detailed flowchart is included in this repository for reference.

๐Ÿ“ genshin-team-optimizer/

โ”‚

โ”œโ”€โ”€ calc.py # Main optimizer script

โ”œโ”€โ”€ Genshin_DB-ver_Luna_IV # Database (latest game version)

โ”œโ”€โ”€ Inventory_Optimizer-v0.2-beta # Logic flowchart

โ”œโ”€โ”€ README.md # This file

โ–ถ๏ธ How to Run Requirements:

  1. Python 3.10+
  2. pandas

Steps:

  1. Download the files and put it on 1 folder
  2. Open the calc.py file
  3. On the terminal, type "pip install pandas"
  4. On the terminal, type "python calc.py"
  5. Follow the prompts on the terminal

๐ŸŒ Future Plan: Streamlit Web App This optimizer is planned to be deployed as a Streamlit web app. Stay tuned ๐Ÿ‘€

๐Ÿค Contribution & Feedback Feedback is very welcome! If youโ€™re a programmer or theorycrafter and see something off โ€” please open an issue or PR ๐Ÿ™

โš ๏ธ DISCLAIMER This project is:

  • Fan-made
  • Non-commercial
  • Not affiliated with HoYoverse
  • All character data belongs to Genshin Impact.

And good luck on your Genshin journey, Traveler!

About

Mini party optimizer to find the best team composition base on player's inventory in Genshin Impact

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages