Magic damage reduction aura

K

Kuroikaze

Guest
Is there a way I can make a magic damage reduction aura?

I tried converting the "Runed bracers" ability to a hero skill and giving it an area of effect, but it's not working.
 
Try Spell Shield (Rune)... it has an area of effect but I dont know if it works like an aura...
 
no good. Spell shield blocks a spell entirely, it doesnt reduce damage.


it's also a per-cast spell.
 
Try making a dummy aura and give everybody in it Elune's Grace.
 
Duwenbasden said:
Try making a dummy aura and give everybody in it Elune's Grace.

That's a good idea, but what auras can I edit to do that?
 
Kuroikaze said:
That's a good idea, but what auras can I edit to do that?

Any, just make sure the aura doesn't do anything (eg. making Endurance and Unholy have 0% boost, Trueshot 0% attack increase), and change the art to whatever you like.
 
you dont seem to understand. you cant just make an aura do something it normally doesnt do. Endurance aura can only apply attack and move speed.
I'd have to use a trigger to apply these new abilities out of nowhere.
And the "Events" "begins effect of" or "begins casting" do NOT work with auras.
I'd have to make a trigger that did this:
Event-
Unit - Enters region (conversion - convert point to region with width of X and height of X)
condition-
(triggering unit) equal to allied with (unit variable set as aura owner)
event-
add "ability" to (triggering unit).

That WOULD work perfectly. Except that the goddamn world editor wont let you convert a non-existant unit to a point, EVER, and wont let you use a unit-type variable. I'd have to have the hero already on the map, and for the map type I have where you pick your heros, that's not effective.
 
you dont seem to understand. you cant just make an aura do something it normally doesnt do. Endurance aura can only apply attack and move speed.
I'd have to use a trigger to apply these new abilities out of nowhere.
"Try making a dummy aura and give everybody in it Elune's Grace." - dummy aura can be anything, setting Endurance's boost to 0% only prevents the normal Endurance stuff from occuring.
---------------------
Nay, use a periodic check (auras does that too) to see if that unit has the aura buff, then give the ability, else remove it.
 
yes, I know that, but HOW WOULD I GET A TRIGGER TO DO THAT?

You'd need a pre-existing unit to convert to a region, which is possible in worldedit.

you could ALSO do it if you had a custom scripted "event" portion of a trigger that looked for a specific buff on all units in the map, then added the ability if they had it, and removed it if they didn't.

I don't know how to script in JASS, and I can't do pre-existing units.
 
Kuroikaze said:
you could ALSO do it if you had a custom scripted "event" portion of a trigger that looked for a specific buff on all units in the map, then added the ability if they had it, and removed it if they didn't.
This is what you have to do. Only instead of a custom event, you use a periodic event and a "Pick Every Unit" action.
 
You don't need JASS code to do it. Heck, you don't even need an aura (but keep it for cosmetic values.)

Code:
    Events
        Time - Every 2.00 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
            Loop - Actions
                Unit - Remove Elune's Grace from (Picked unit)
        Unit Group - Pick every unit in (Units within 900.00 of (Position of UnitWithAura)) and do (Actions)
            Loop - Actions
                Unit - Add Elune's Grace to (Picked unit)

You can replace "Units in Playable map area" with "Unit in Playable map area MATCHING 'unit has Elune's Grace equals true'"
 
I DID IT! WOOT!

Code:
Magic Shield Aura
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) has buff Magic Shield (Magus)) Equal to False
                    Then - Actions
                        Unit - Remove Magic Shield (Unit) from (Picked unit)
                    Else - Actions
                        Do nothing
        Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) has buff Magic Shield (Magus)) Equal to True
                        (Level of Magic Shield (Magus) for Magus) Equal to 1
                    Then - Actions
                        Unit - Add Magic Shield (Unit) to (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                ((Picked unit) has buff Magic Shield (Magus)) Equal to True
                                (Level of Magic Shield (Magus) for Magus) Equal to 2
                            Then - Actions
                                Unit - Add Magic Shield (Unit) to (Picked unit)
                                Unit - Set Level of Magic Shield (Unit) for (Picked unit) to 2
                            Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        ((Picked unit) has buff Magic Shield (Magus)) Equal to True
                                        (Level of Magic Shield (Magus) for Magus) Equal to 3
                                    Then - Actions
                                        Unit - Add Magic Shield (Unit) to (Picked unit)
                                        Unit - Set Level of Magic Shield (Unit) for (Picked unit) to 3
                                    Else - Actions
                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                            If - Conditions
                                                ((Picked unit) has buff Magic Shield (Magus)) Equal to True
                                                (Level of Magic Shield (Magus) for Magus) Equal to 4
                                            Then - Actions
                                                Unit - Add Magic Shield (Unit) to (Picked unit)
                                                Unit - Set Level of Magic Shield (Unit) for (Picked unit) to 4
                                            Else - Actions
                                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                    If - Conditions
                                                        ((Picked unit) has buff Magic Shield (Magus)) Equal to True
                                                        (Level of Magic Shield (Magus) for Magus) Equal to 5
                                                    Then - Actions
                                                        Unit - Add Magic Shield (Unit) to (Picked unit)
                                                        Unit - Set Level of Magic Shield (Unit) for (Picked unit) to 5
                                                    Else - Actions
                                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                            If - Conditions
                                                                ((Picked unit) has buff Magic Shield (Magus)) Equal to True
                                                                (Level of Magic Shield (Magus) for Magus) Equal to 6
                                                            Then - Actions
                                                                Unit - Add Magic Shield (Unit) to (Picked unit)
                                                                Unit - Set Level of Magic Shield (Unit) for (Picked unit) to 6
                                                            Else - Actions
                                                                Do nothing
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Today I had to scramble, I didn't work most of dinner service and no one told me shit. They had a rough few hours lol
  • Varine Varine:
    I have two salmon, Sockeye and Atlantic. Atlantic is used for the kids salmon and the salmon and beet salad, and can also be added onto any dish or just as a side. Atlantic salmon will almost exclusively ever be FARMED, as it is endangered in the wild, and we ALWAYS cut them to 4 ounces.
  • Varine Varine:
    SOCKEYE salmon, very different and this IS wild caught. We have an ENTREE version, and an add on version. The entree is 7 ounces, the add on is 4. Why? Because that is how someone that wasn't me set up the computer.
  • Varine Varine:
    I had to have this conversation like ten fucking times tonight
  • Varine Varine:
    The issue being, I came into work and had none of this whatsoever
  • Varine Varine:
    No one told me shit
  • Varine Varine:
    So, taking into consideration that what I typed out up there is kind of some fucking nonsense that under normal circumstances no one really needs to fucking be able to explain in any rational way
  • Varine Varine:
    Let alone trying to figure it out from a wildly stressed out me that is also on a phone call trying to get something to show up from Seattle tomorrow while trying to explain this salmon situation, that also is barely solved in maybe a few hours and and but I am bulking it with a few steelhead filets I have and that is a WHOLE fucking different thing to the 19 year old server that got put on day shift C crew that doesn't know who I am.
  • Varine Varine:
    I did however really want days. I like getting off at 4 half the time, and that makes it worth it!
  • Varine Varine:
    Also I hate my job right now but I think that was the hard part. Now it's just work
  • Varine Varine:
    @jonas I'm sorry? I don't know what you're referring to.
  • Varine Varine:
    Once we hit winter I feel like I get to back to having a pretty cool job. Like I bitch about it all the time, but it's work. I'm still gonna bitch
  • Varine Varine:
    All in all though I think this summer is going really well. Some complicated things, but at the end of the day it isn't THAT big of a deal. Not all of our servers have quite realized they are technically sales
  • Varine Varine:
    Like yeah it is a substitute, but FOMO. Chef isn't getting this again this year, he has to figure it out, so it's slightly off on the menu, but that is more or less the LOWEST quality and price. Right now, steelhead is a real stealhear, right?
  • Varine Varine:
    Like fuck off even I can do it
  • Varine Varine:
    I am going to get one of my servers to do that in her server voice and you'll see my point
  • Varine Varine:
    Maybe the bartender. Idk, it's one of my favorite things to hear them go from calm to customer service voice. They will translate it to like "The chef is trying to change that a bit right now so he does have a Alaskan river steelhead. Yeah like the one you might fish probably!" And then the girls can bat their eyes and do pretty girl server shit
  • Varine Varine:
    At least that's how imagine some of them. Did you know mayonnaise is dairy free? A suprisingly amount of people don't\
  • The Helper The Helper:
    mayo is eggs right?
  • The Helper The Helper:
    Seems I never watched the Witcher - looks like i have a lot of content
  • The Helper The Helper:
    Season 1 Episode 8 the marathon continues...
  • jonas jonas:
    mayo is eggs & oil
    +1
  • The Helper The Helper:
    I got halfway season 2 on The Witcher and it lost me. I am going to have to pick this one up again later.
  • jonas jonas:
    season 2 is with the new actor right? it's so far below the first one
  • The Helper The Helper:
    first season was good the 2nd season is bleh I hope I can make it through it for 3

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top