{"slug":"loot-affix-generator","version":"1.1.2","category":"roguelike","mode":"byok","locale":"en","files":[{"path":"SKILL.md","content":"---\nname: loot-affix-generator\ndescription: \"Design weighted Prefix/Suffix tables, item-level gates, exclusion groups, and build-defining uniques.\"\nversion: \"1.1.2\"\ncategory: roguelike\nengines: [godot4, unity, unreal, universal]\nmodalities: [code, text]\nhomepage: \"https://aigameskills.com/skills/loot-affix-generator\"\n---\n## Affix Pool Architecture\n1. **Separate Prefixes (Raw Stats/Defense) & Suffixes (Utility/Procs/Resists)**: Max 3 prefixes + 3 suffixes on Rare items prevents pure-DPS stat inflation while forcing meaningful defensive trade-offs.\n2. **Tag-Driven Exclusion Groups**: Every affix declares `modGroup` (cannot roll two life-leech tiers) and `requiredItemTags` (e.g. `['weapon', 'melee']`).\n3. **Pity Escalation (PRD)**: Track non-legendary drops per player state and escalate legendary weight smoothly instead of pure memoryless Bernoulli rolls.\n\n---\n## BYOK Configuration (Manual Mode)\n\n- Configure your own upstream provider endpoints and keys (`OPENAI_API_KEY`, `GEMINI_API_KEY`, `FAL_KEY`) in `.env` before running bundled scripts.\n- Switch to zero-setup unified Mana credits anytime with `npx aigameskills add loot-affix-generator`.\n"}],"installCommand":"npx aigameskills add loot-affix-generator"}