Make any unit indestructible

Narks

Vastly intelligent whale-like being from the stars
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?).
 

Narks

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

B0ndo

New Member
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.
 
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
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
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
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.
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
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
@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
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
@Educator the dummy was my idea in the first place. And Hardened Skin wouldn't work for 9999999999999999999 damage.
 

Laiev

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

NeuroToxin

New Member
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
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
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
Well I'm pretty sure Reincarnation stops the unit from firing a death event.
 

NeuroToxin

New Member
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.
  • The Helper The Helper:
    check out this place apparently it is the best roommate site out there roommates.com lol
  • Varine Varine:
    The homeless people reminded me of New York
  • Varine Varine:
    I'll check it out, my lease expires in like a few months so I need to figure something out.
  • Varine Varine:
    I tried to open a food truck in Sandpoint a few years ago but the city said no, then like two years later they passed new laws to encourage it and gave them all fucking tax breaks and shit. And at that point I didn't have enough money to go buy one so I was way too late to the game once other cities realized they could just bring their existing truck there, or sell their brick and mortar.
  • Varine Varine:
    I do like food trucks though, they're way more fun than restaurants and usually I also get some of that tip money there.
  • Varine Varine:
    Restaurants are really hard if you don't have a back up source of income to fund them sometimes, in my experience most owners either got really really lucky, had existing money that allowed them to buy an already successful one, or they have family money to fall back on for loans. It's few and far between to see very inspiring success stories where the person actually got it through hard work and perseverance. I thought about opening one lots and I always just end up not thinking it'll work. I would much rather just find someone that has that money and go work for them
  • The Helper The Helper:
    i am not talking about opening a brick and mortar I am talking about food trucks though I have seen some brick and mortar mexican places open up during covid that are doing good because there food is awesome!
  • The Helper The Helper:
    Food trucks are killing out here because Bars cannot open unless they sell food and the governor ok'd the use of a food truck in front as serving food
  • The Helper The Helper:
    Just not enough food trucks
  • The Helper The Helper:
    a buddy of mine just opened up a food truck and he is killing it but he is a great cook and has awesome food right in the middle of the pandemic too food trucks are immune to pandemic because they are take out in Texas you will always be able to get take out or delivery
  • The Helper The Helper:
    He is in the different food facebook groups in houston and posts videos of him making his food
  • The Helper The Helper:
    he is killing it
  • jonas jonas:
    @Varine with the restaurants, there surely is a lot of luck and hard work but most restaurants fail because they suck. Flair isn't right, economics not well thought through, food is mediocre or sucks, location is bad, etc. If you're thinking about opening one, make sure you're looking at the stories of those that would be playing at your level, don't let your hopes be dragged down by all the subpar restaurants out there.
  • jonas jonas:
    I'm a bit worried about the future of data science, there's an influx of incompetent people hired by incompetent managers, that can't last. But I'm sure smart data scientists will always be useful and hireable. Same as smart security people.
  • jonas jonas:
    My sister in law worked in a vegan food truck, the owners were also making a killing, added several trucks and opened two restaurants over 5 years
  • Ghan Ghan:
    The CompTIA stuff is pretty much crap unfortunately. The places that ask for those low-level certs aren't likely places you want to work. For IT you really want a degree, but in the meantime you need to figure out some way to learn the skills. Cybersecurity is really hot right now so competition is fierce.
  • tom_mai78101 tom_mai78101:
    I realized I don't have anything much to say, other than "Good luck!". Compared to other places, I'm just very lucky we didn't have a lot of surges of cases coming in.
  • The Helper The Helper:
    My daughter just got back from school at Georgetown TX, outside of Austin and said there were 100 cases in the last week but she also said nobody was wearing a mask anywhere so people mask up and stay safe!
    +2
  • thewrongvine thewrongvine:
    happy thanksgiving folks!
    +1
  • Ralle Ralle:
    PLOOB
  • Varine Varine:
    @Gyah Yeah I figured they aren't particularly valuable, but they'll at the least act as a baseline for some entry level work somewhere.
  • Varine Varine:
    I now see how horribly I spelled @Ghan
  • Varine Varine:
    I had a rough morning
  • The Helper The Helper:
    that field is going to explode and though there is competition there is going to be room for all levels in the coming years imho.
  • tom_mai78101 tom_mai78101:
    Why are we competing for rough mornings? :(

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top