ArcanePariah / Night-of-the-Dead

9 stars 14 forks source link

Fixing an introduced in 2.180 problem with gunship+laser designator. #230

Closed NiktosNOTD closed 6 years ago

NiktosNOTD commented 6 years ago

My changes to make laser designator always run it's full course also caused laser designator applied automatically during fo gunship to spam apply itself. It was an annoance to see "Infestor designated" spammed by it. BUT there was also a hidden bigger problem, given big enough amount of eligible targets-40+ and sufficient time the autospammed LD from gunship creates so many threads of LD trigger it reaches the limit set by gameengine and stop usual story actions from occuring possibly locking the game.

Fix makes the LD applied by gunship it's own behavior which is tied to more strict event inside 'LaserDesignator' trigger to prevent spamming. Also removed the -5 armor from LD applied by gunship, it makes to mention anywhere of even applying LD, and from my understanding it just marks targets for ease of aiming of fo player- thus now it just marks/detects no hidden non-mentioned debuffs.

PATCHNOTES: -Toned down number of laser designate effects used during fo gunship.