Fix Issue #16: Remove obsolete _prerollRaiders check in ImmigrationEvent #56
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ald_productions/spacebase-v2-updated-code!56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An obsolete check was placed in ImmigrationEvent that caused
CompoundEvent to shit its proverbial pants when processing
HostileImmigrationEvents because this check prevented tCharSpawnStats to
get added to the Event. This _prerollRaiders check was deemed obsolete
because this was the only place (left) in the code that mentioned this
variable.
mentioned in issue #16
I've played some more with this patch and I'm noticing that an high amount of raiders show up, compared to vanilla/pre-patch. On a save with a nearby warp portal, I noticed raiders jumping in every minute or so: situations with multiple breachers at the same time happened, also all the nearby ship hails appeared to be raiders, a pattern that re-emerged in a new save, far away from warpgates and with a low danger level (bottom right corner). Though based on mostly anecdotal evidence, this simple patch seemed to have great consequences in raider spawns, prompting for a balance change. Please test before merging. The crashes this patch addresses are solved though.
tl;dr Patch works, though probably caused balance regression.
mentioned in commit
7bc9be6625Status changed to merged