How can I make attacks ignore armor?

Marsmallos

Member
Reaction score
17
Both triggered Unit-deal damage and normal attacks.

I tried to change the attack typ of a unit to "spells" but the attacks are still reduced by armor the normal way (i.e. armor with 30% damage reduction removes 30% of the damage)

And same thing happens if I use a unit - damage area trigger, the damage gets reduced by armor the normal way

Is there some way to aways make an attack deal full unmitigated damage to a target except setting the targets armor to 0?
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
DAMAGE_TYPE_UNKNOWN
- but watch out for this it can also damage invulnerable units
 

Marsmallos

Member
Reaction score
17
I set the attack type to "none" in the object editor but the attacks still get reduced by armor. The attacks are meant to deal 45 damage, but on a unit with 65% damage reduction they deal about 15-20 damage (it is hard to see exactly how much, but it certainly is too low damage)
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
well im not sure if u can find UNKNOWN in GUI but u can certainly do it in Jass
 

Marsmallos

Member
Reaction score
17
I mean "object editor" as in the editor where you create and edit custom units etc, not the "trigger editor" where you do GUI or jass stuff.
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
oh then i suggest you to choose choas but it won't work on all types of armor as far as i remember
 

Marsmallos

Member
Reaction score
17
Sure? I was under the impression that it just deal full damage VS all armor types, but it still gets reduced by damage reduction.

EDIT: yes, chaos damage still gets reduced by armor, so an attack that has 45 base damage gets its damage 65% reduced vs 65% armor reduction, regardless what armor type
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
well in that case i think ur only solution is using Jass for that matter with Damage type Unknown
 
W

Wiiman420

Guest
Couldn't you just make a simple skill for the unit that allows it to by-pass armor and all that?
 

Sirroelivan

Gunnerkrigg Court
Reaction score
95
Giving the unit zero attack and using the action "unit-damage target..." for the damage dealing?
 

Marsmallos

Member
Reaction score
17
Couldn't you just make a simple skill for the unit that allows it to by-pass armor and all that?

Unfortunately I dont think so. There are no skills that are a simple "send missile and deal damage". And if I use an ability my trigger will get much,much larger, since there will be sent 20 missiles and I dont even think it will work since you cant use waits in loops.

In that case it would be like:

Code:
Pick every unit in MyBossFightArea matching matching unit is an enemy of player 12. (usually 10-15 units)
Loop-actions
create 1 [spirit bolt dummyunit] at LocationofMyBossvariable
add a 11 sec Generic expiration timer to last created unit
order last created unit to (Spirit Bolt (picked unit)) [COLOR="Blue"]<-[A missile spell that deals 45 damage to the target][/COLOR]
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))
wait 0.50 seconds
order last created unit to (Spirit Bolt (picked unit))

So I figured using a dummy unit that attacked (and had 0.50 sec cooldown and unlimited range to his attack) was better.

EDIT: I realised I havent told you what I am trying to create. Basicly, it is a channeled spell that causes the hero to shot one bolt á 45 damage on each enemy in range every 0.5 sec, for 10 sec or a total of 900 damage.
I solved it by creating a dummy unit with 0.5 attack speed and a ranged attack with the missile I want to use for each target in range (pick all units matching condition) and ordering it to attack the picked unit.
Then I remove all dummies after 10 seconds.

Here are some screenshots of how I want it to look:
 

Vestras

Retired
Reaction score
249
You have to set a units damage type to DAMAGE_TYPE_UNIVERSAL.
Dunno if its possible in GUI though.

And yes, you can use waits in loops.
 

Vestras

Retired
Reaction score
249
Maybe, but there are damn many leaks. All those waits includes one leak each. (To Marsmellow; if you don't want those leaks, create custom scripts with call TriggerSleepAction(yourtime) instead of those waits. The exact same effect, just no leaks)
 

Marsmallos

Member
Reaction score
17
call TriggerSleepAction(yourtime)

"yourtime" is replaced by i.e 0.50 for 0.5 seconds and 1.00 for 1 seconds yes?

EDIT: That is not how the spell is triggered at the moment, it is how it would be triggered if I gave an ability to the dummy and had them use it instead.

This is how my real trigger is:

Code:
Spirit bolts
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        MalacrassBoss_incombat Equal to True
        (Ability being cast) Equal to (Boss5) Spirit Bolts 
    Actions
        Set MalacrassBoss_location = (Position of (Casting unit))
        Unit Group - Pick every unit in (Units in Malacrass fight area <gen> matching (((Matching unit) belongs to an enemy of Player 12 (Brown)) Equal to True)) and do (Actions)
            Loop - Actions
                Unit - Create 1 Dummycaster Spirit Bolts for Player 12 (Brown) at MalacrassBoss_location facing Default building facing degrees
                Unit - Hide (Last created unit)
                Unit - Order (Last created unit) to Attack (Picked unit)
                Unit Group - Add (Last created unit) to MalacrassBoss_spiritbolts
        Wait 10.10 seconds
        Unit Group - Pick every unit in MalacrassBoss_spiritbolts and do (Actions)
            Loop - Actions
                Unit - Remove (Picked unit) from the game
        Wait 1.00 seconds
        Unit - Order MALACRASS to Neutral Dark Ranger - Charm (Random unit from (Units in Malacrass fight area <gen> matching (((Matching unit) belongs to an enemy of Player 12 (Brown)) Equal to True)))
        Wait 1.00 seconds
        Unit - Order MALACRASS to Attack MalacrassBoss_aggrotarget

I just have to clean up leaks
 

Vestras

Retired
Reaction score
249
> "yourtime" is replaced by i.e 0.50 for 0.5 seconds and 1.00 for 1 seconds yes?

Yes.

> This is how my real trigger is:

You know that you can't issue orders to hidden units, right?
 

Marsmallos

Member
Reaction score
17
You know that you can't issue orders to hidden units, right?

Haha, look at my screenshots, it seems to work anyway :S The bolts you see in the image are the "Spirit Bolts" and they are simply the missile attack of the Hidden unit. So the order seems to be issued anyway...
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
i've tested it out, if you use the trigger, 'unit - damage target' use unknown damage to attack without any blocked damage
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      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