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

Core/Spawn: Make SpawnGroup respect the pool #28549

Open
Killyana opened this issue Nov 18, 2022 · 0 comments
Open

Core/Spawn: Make SpawnGroup respect the pool #28549

Killyana opened this issue Nov 18, 2022 · 0 comments

Comments

@Killyana
Copy link
Member

Description

If you make a spawn group and put members inside a pool, once the spawn group is activated it will spawn every member and ignore the pooling.
Adding the support for pooling will allow us to randomize entities inside the spawngroup and make quests like "triage" https://www.wowhead.com/wotlk/quest=6624/triage https://www.youtube.com/watch?v=TdMOERz3pAs easy to script.

Expected behaviour

Spawn Group must respect the pooling instead spawning all members.

Steps to reproduce the problem

  1. Use this sql Quest: Triage  #25387 (comment)
  2. .go c id 12939
  3. Take the quest to start the script
  4. Notice in each spot there's 3 spawns on top of each other instead of 1 (in each spot there's 3 pooled spawns)
    Note: After a while when npcs start dying only one npc will respawn at once, so only the initial spawn call must be fixed.

Branch

3.3.5

TC rev. hash/commit

Rev. d3a38dc

Operating system

Windows 11 x64

Custom changes

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant