Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPC/elite generation rework #342

Open
tukkek opened this issue Apr 28, 2022 · 0 comments
Open

NPC/elite generation rework #342

tukkek opened this issue Apr 28, 2022 · 0 comments
Milestone

Comments

@tukkek
Copy link
Owner

tukkek commented Apr 28, 2022

For World and Dungeon Random Encounters, instead of having pregenerated NPC and elite units, have instead a 10% chance of generating an elite/NPC encounter. Do this dynamically by generating an EncounterIndex with all Monsters in the encounter table, in a range like [el/2,el-2], then select a random sample of units from the generated encounter and iteratively upgrade the weakest until the target EL is reached.

If a special encounter can't be generated, just fall-through with the normal encounter selection.

The problem with this approach is that it will exclude elites and NPCs from other content - this isn't necessarily terrible as Haunts and Sieges are more intended to be larger-scale battles where NPCs would be interesting but not necessary and possibly hard to keep track of.

A future issue can be opened to investigate future possibilities for other cases (Haunt, Incursions, garrisons)... - like pre-generating level 5/10/15/20 NPCs/elites for each favored Kit rather than the current approach. This would result in 5x the entries for each creature, pet Kit so an alternative approach would be to target a number of NPCs per Kit (2, for example) and generate said NPCs from there (maybe one at low level, similarly to Arena and one from any available Monster).

If an universal approach with the 10%-chance strategy can be easily done in Encounter Generator directly, even better.

@tukkek tukkek added this to the Short-term milestone Apr 28, 2022
@tukkek tukkek changed the title Redesign NPC/elite generation NPC/elite generation rework Apr 28, 2022
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

No branches or pull requests

1 participant