Holotarget independant targeting does not refresh properly when re-apply

This is to elevate certain bug reports so Long War 2 developers can interact with players.
Post Reply
bountygiver
Posts: 74
Joined: Mon Feb 27, 2017 3:33 am

Holotarget independant targeting does not refresh properly when re-apply

Post by bountygiver »

If you have independent targeting and use holo target on someone who is already holo targeted, you will notice that the turn remaining didn't get bump back up to 2 and it stays at 1.

This is due to an error in implementing the check for independent targeting when applying holo targeting. Where it is checked in

Code: Select all

OnEffectAdded
when the proper way to set the duration is to implement them in

Code: Select all

GetStartingNumTurns
Apperantly the effect also lacks a

Code: Select all

IsThisEffectBetterThanExistingEffect
, so if you use a higher tier holo targeter to holotarget someone marked with a lower tier holo targeter, the effect won't override.
Post Reply