jdoleary / Spellmasons

https://store.steampowered.com/app/1618380/Spellmasons/
Other
0 stars 1 forks source link

LOS Lines - OnDrawSelected VS Smart Targeting #408

Open SoulMuncher opened 5 months ago

SoulMuncher commented 5 months ago

The lines drawn from LOS units in OnDrawSelected doesn't always match the target they intend to shoot/chase down due to smart targeting.

More info from commit: [30ae932]

Consider for AI Refactor #388 -> Not to be fixed alone

SoulMuncher commented 4 months ago

Might be because findClosestUnitInDifferentFaction uses smart targeting and livingUnitsInDifferentFaction does not

These could be cleaned up with the refactor