qoala / InvisibleInc-CommunityBugFixes

1 stars 0 forks source link

Disguised agent bodies don't use cover #41

Open qoala opened 3 years ago

qoala commented 3 years ago

Agents are hidden by cover. Bodies are hidden by cover. Disguised agents explicitly don't use cover (to be more like guards).

Problem: disguised KOed agents don't use cover, even though all bodies normally are hidden by cover.

qoala commented 3 years ago

Related: Most sources of KO against agents go through hitUnit, which breaks disguise.
Augment machines directly call setKO, so disguise isn't dropped.

Either all sources of KO should drop disguise, or update simunit:canHide to also consider "disguised and KOed" as allowed to hide.