mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-07 23:13:17 -04:00
57eedb960bac9745a40268e66e9ba1a84d5b2767
The imperial_p3_end trigger waits for 5 xport_update events to fire,
which signals that all transports have been accounted for (escaped or
destroyed). Transport escapes fire takeoff_imperial_N -> xport_update,
but transport destructions only sent questUpdate messages and never
generated xport_update task IDs. This meant:
- If all transports escaped: xport_update fired 5 times -> worked
- If any transport was destroyed: xport_update count never reached 5
-> imperial_p3_end never fired -> conclude_imperial_p3 never ran
-> no tokens awarded
Similarly, p3_imperial_minor/major trigger tracking (for bonus tokens)
waited for xport_destroy events, but each individual destruction never
generated them - only the all-5-destroyed compound did.
Fix: add taskId:xport_update and taskId:xport_destroy to each
xport_destroyed_N trigger block so every destroyed transport
contributes to both counts, regardless of how many escape.
Fixes #387
SWG Source DSRC/Script Repo
This repo was forked from Stella Bellum. Please credit them (notably Cekis) if you use any of the work here.
Pull requests are welcome and encouraged
Languages
Java
99.9%
Perl
0.1%