harbingerofme / DebugToolkit

Debugging commands for Risk of Rain 2. Previously known as RoR2Cheats.
https://thunderstore.io/package/IHarbHD/DebugToolkit/
BSD 3-Clause "New" or "Revised" License
14 stars 8 forks source link

Change Command: "spawn_ai" #149

Closed SChinchi closed 11 months ago

SChinchi commented 11 months ago

Issue The command is currently using the prefab directly and without not going through DirectorCore.TrySpawnObject, it does not give the UseAmbientLevel item. The spawned entity may not inherit any Evolution items either, as well as undergo any other artifact effects, such as Swarms.

The lack of proper item distribution, to mention the least, can cause users who are not familiar with the intricacies of the code to falsely assume that any tested enemies don't inherit any Evolution items, or that they level up appropriately according to the ambient level.

Solution Make the spawn via a spawn request from the DirectorCore.