Skip to content

[pull] midnight from simulationcraft:midnight#634

Merged
pull[bot] merged 10 commits into
hotbees:midnightfrom
simulationcraft:midnight
May 25, 2026
Merged

[pull] midnight from simulationcraft:midnight#634
pull[bot] merged 10 commits into
hotbees:midnightfrom
simulationcraft:midnight

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 25, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

gastank added 10 commits May 25, 2026 06:41
`init_actor_e` enum lays out the large step categories

```
register_actor_initializer( <priority>, <callback>, <optional name> )
register_actor_initializer( <base name>, <offset>, <callback>, <optional name> )
```

* Priority: Can be an `init_actor_e` enum or any integer value
* Base name, Offset: Alternatively, you can provide a name as the base initializer to apply the offset to for priority
* Callback: Can be a functor `std::function<void( player_t* )>` or a pointer to a `player_t` member function
* Optional name: Used to resolve priority clashes and identify base for offset, optional

-----
* [Sim] use priority-sorted list of initializers for init_actor()

* add optional name to initializer entry

* register with an offset from another entry

* rename player_t::init_stats to player_t::init_stat_data

* move raid events related actor initialization code into the raid event

* use index loop for running initializers

* move emerald_coachs_whistle_ally_ilvl code to unique_gear_dragonflight

* move external soleahs_secret_technique code to unique_gear_shadowlands

* move potion bomb of power code to unique_gear_thewarwithin

* move rallying cry code to sc_warrior

* move power infusion code to sc_priest

* sort initializer by priority then name

* fix typo

[skip ci]
@pull pull Bot locked and limited conversation to collaborators May 25, 2026
@pull pull Bot added the ⤵️ pull label May 25, 2026
@pull pull Bot merged commit 524ebde into hotbees:midnight May 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant