Make any unit indestructible

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
So, I want to be able to make any unit indestructible (by adding abilities or whatever). Basically, the unit should not be able to die under any game mechanic. Assume that every ability that exists in WarCraft III (transmute, finger of death, etc.) can be used, and that attackers deal an infinite amount of damage.

Any ideas? All I've got is add a million hit points and a million hit points regeneration, but that doesn't stop infinite damage or certain spells like transmute (any others?).
 

B0ndo

New Member
Reaction score
4
Add the ability Invulnerablity? That makes the unit completely unkillable.
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
Oh, forgot to say that the unit needs to be able to be attacked and targeted by spells.
 

B0ndo

New Member
Reaction score
4
The unit may not be able to die but must be able to be attacked?

Give the unit shit loads of health and make a trigger that gives the unit full life if it gets below 99% health.
 
Reaction score
7
I don't get what should happen if instant-kill abilities are used like Finger of Death on such a unit. Can you explain how this ability will be used?
 

B0ndo

New Member
Reaction score
4
I might understand you wrong mate, but this seems to be rather simple. As i said give the unit a billion life and then add this trigger:

Trigger:
  • Trigger
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Your Unit Here
    • Actions
      • Unit - Set life of (Attacked unit) to 100.00%


And in case you got any "instant kill" spell add this trigger:

Trigger:
  • Trigger 2
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Your Unit Here
    • Actions
      • Unit - Create 1 (Unit-type of (Dying unit)) for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
      • Unit - Remove (Dying unit) from the game
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
Giving the unit a lot of health won't help if it is attacked by a unit with more damage then it has health. I'm looking for a more elegant solution, such as reducing all incoming damage to 0.

The main problem, though, is stuff like Transmute. I was hoping there might be a stock ability that prevents instakills, or maybe a way to change the unit's level to make it too high to transmute, or something...
 

B0ndo

New Member
Reaction score
4
I don't understand why any units would have that high amount of damage, but anyway. Making a back-up trigger (Trigger 2 i showed you) would make a new unit at the position of the dead unit but it will quickly swap the dying unit with a new unit with 100% health without you even notice it, it's not possible to reduce the incoming dmg by 100% i think, i was trying to do something similar by adding +5 damage to the unit. But that has nothing to do with your problem, so this is not a work around for you.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
612
Just make sure that the unit has a higher level than the maximum limit of transmute, and make a trigger to set its health to 100% whenever it takes damage.
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Give it a 0-second-cooldown, 0-second-delay version of Reincarnation?

That's the only guaranteed way I know to make a unit "unkillable" but still targetable by all spells and damage.
 

NeuroToxin

New Member
Reaction score
46
@Weep He could use the events - A unit is attacked, and a unit begins to cast an ability to trigger it, just simply take the unit, check its damage, using some library that I cannot recall, or, play the units attack animation, but don't deal the damage, its like for spells that will kill, just play the units animation, and create a dummy for the unit to use it on.
 

educator

New Member
Reaction score
9
been away from the editor 4 a while, for damage reduction u can use the "hardened skin" ability (not sure if that is what it was called, mountain giants have it) if modified could reduce incoming damage to 0. to prevent certain spells from being cast on it, maybe if there are not many 1 hit kill abilities, trigger it so that when that unit type is targeted by the spell(s) (another unit casts the ability on it) it stops the caster, creates a dummy unit and re-orders the caster to target the dummy
 

NeuroToxin

New Member
Reaction score
46
@Educator the dummy was my idea in the first place. And Hardened Skin wouldn't work for 9999999999999999999 damage.
 

Laiev

Hey Listen!!
Reaction score
188
the best way to what you want... is use some Damage Detect System, block all incoming damage
 

NeuroToxin

New Member
Reaction score
46
Damage Detect wouldn't work. Hell I'd go as far to say that'd be stupid to do. As Damage Detection would cause the unit to take the damage, then it would trigger.
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
I think damage detection adds a +absurd amount of HP whenever damage is dealt in order to "block" it. So it could be beaten by an absurd amount of damage...

I don't think there is a solution here, so I'm going to go with +absurd HP, +absurd HP regeneration, and a 0 second reincarnation ability.
 

B0ndo

New Member
Reaction score
4
I think triggering the reviving would be better than doing it through an ability, depending on what you're looking for ofcourse.
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
Well I'm pretty sure Reincarnation stops the unit from firing a death event.
 

NeuroToxin

New Member
Reaction score
46
Note at B0ndo.
So you're saying he should trigger it? Heres what he would need to save.
Items - Attributes - Level - Experience - Skills - and X/Y
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    I ordered like five blocks for 15 dollars. They're just little aluminum blocks with holes drilled into them
  • Varine Varine:
    They are pretty much disposable. I have shitty nozzles though, and I don't think these were designed for how hot I've run them
  • Varine Varine:
    I tried to extract it but the thing is pretty stuck. Idk what else I can use this for
  • Varine Varine:
    I'll throw it into my scrap stuff box, I'm sure can be used for something
  • Varine Varine:
    I have spare parts for like, everything BUT that block lol. Oh well, I'll print this shit next week I guess. Hopefully it fits
  • Varine Varine:
    I see that, despite your insistence to the contrary, we are becoming a recipe website
  • Varine Varine:
    Which is unique I guess.
  • The Helper The Helper:
    Actually I was just playing with having some kind of mention of the food forum and recipes on the main page to test and see if it would engage some of those people to post something. It is just weird to get so much traffic and no engagement
  • The Helper The Helper:
    So what it really is me trying to implement some kind of better site navigation not change the whole theme of the site
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top