Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Morph cleanses EMP

Open sprunk opened this issue 12 years ago • 13 comments

It allows for at least 2 exploits:

  1. non-combat morph (ie. units and not comms) can cleanse all EMP damage by starting morph and immediately cancelling it. Might be pretty big for striders who tend to rack up XP easily and whose one of the counters is EMP (eg. Spy). During morph it also has full EMP immunity (you can dodge Shockleys or Spies if you see them coming).
  2. morph continues after the unit gets partially reclaimed. Morph finished while reclaimed leaves debris (and may create an explosion if >70%). Using Aspis/Aegis (or other circle-morphs), you can create infinite debris: start morphing an Aegis, reclaim it a bit to 99%, after it becomes Aspis it leaves 99% Aegis Debris, rebuild the Aspis and start morph back to Aegis again, reclaim to 99% and it will again leave 99% Aspis Debris on finish. The metal created exceeds the morph costs (205 vs 70). Metal extractors will go bankrupt!

Morph disregards slowdamage and doesn't carry it over for the new unit; it also disregards Disarm and EMP (for combat morphs; unit morphs have EMP cleanse and full immunity), though it does carry these over. Like said, it also disregards being reclaimed. Transports picking morphing units up pause the morph; getting unloaded cancels non-combat morphs without a refund. Using the air trans drop feature, morph gets stuck, does not advance, and the morph cannot be cancelled in any way (including picking it up again and unloading).

Also, morph availability and paths are somewhat arbitrary.

sprunk avatar Aug 26 '14 15:08 sprunk

In PR #168 I fixed the "Morph finished while unit is partially reclaimed leaves debris" part which was imho the most abusable . It also prevents spawning explosions and flying unit parts in these cases.

To improve it further it might be a good idea to automatically cancel morph when unit gets partially reclaimed.

/Rafal

CarabusX avatar Aug 27 '14 04:08 CarabusX

#225 makes morph obey slow and disarm.

sprunk avatar Sep 09 '14 17:09 sprunk

With abolition of XP morph, can this issue be closed? Or remaining xp-free morphs still are too bad?

Anarchid avatar Oct 30 '14 11:10 Anarchid

Transports breaking morph and EMP cleanse/immunity still happen for existing morphs. Keeping the ticket open makes sense because eventually these should get fixed.

I have an idea on how to fix it by replacing EMP (just block the auras, and use MoveCtrl to keep the unit immobile + apply EMP obedience) and will try it out this weekend.

sprunk avatar Oct 30 '14 20:10 sprunk

MoveCtrl will make it immune to impulse and terrain changes. Don't do that.

GoogleFrog avatar Nov 03 '14 04:11 GoogleFrog

Maybe it's rather possible to deactivate units in such a way as to not use the EMP at all. Disarm does something along those lines, i believe; it doesn't use EMP at all.

Anarchid avatar Nov 12 '14 16:11 Anarchid

Klon disarm is not a problem. The problem is that morph works by fully EMPing a unit and removing it at the end. It would be possible to store the incoming EMP damage but you would also have to update it for decay and make sure it obeys paraTimer. Also it would make sense that a stunned unit would no longer be able to morph.

My suggestion is to look at the unit_attributes gadget and see if the powers within it are sufficient to completely disable a unit. I suspect there is sufficient power there because Disarm has been written to disable all but movement and slow can deal with movement. Perhaps I will look at that soon.

GoogleFrog avatar Nov 13 '14 04:11 GoogleFrog

I believe that its meaningless to focus on such a detail. Its ok that EMP state is shared... What is fundamentally wrong with that? You can say that unit has to power off its circuits and is then easier to emp after "reboot" or something like that it even makes some sense...

Licho1 avatar Nov 14 '14 14:11 Licho1

being able to remove all emp at will is bad gameplay-wise (especially for striders)

sprunk avatar Nov 16 '14 10:11 sprunk

But striders dont morph

Licho1 avatar Nov 16 '14 11:11 Licho1

Striders could morph and it would be an issue with other units. This ticket is part of the unit morph requirements. Klon and Sprung seem to be doing work on morph.

GoogleFrog avatar Nov 16 '14 15:11 GoogleFrog

Renamed for the single remaining issue at this time.

GoogleFrog avatar Jun 08 '15 13:06 GoogleFrog

EMP cleanse has been fixed. At this point nothing can stop or slow down morph progress.

GoogleFrog avatar Jul 01 '15 09:07 GoogleFrog