Spell Evasion Aura

Kershbob

New Member
Reaction score
30
The basic gist is:

Code:
Add Ability Via Buff
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Custom script:   set bj_wantDestroyGroup = true
        Unit Group - Pick every unit in (Units in (Entire map) matching ((((Matching unit) has buff Evasion Aura) Equal to True) and ((Level of Spell Book  for (Matching unit)) Equal to 0))) and do (Actions)
            Loop - Actions
                Unit - Add Spell Book  to (Picked unit)
        Custom script:   set bj_wantDestroyGroup = true
        Unit Group - Pick every unit in (Units in (Entire map) matching ((((Matching unit) has buff Evasion Aura) Equal to False) and ((Level of Spell Book  for (Matching unit)) Greater than 0))) and do (Actions)
            Loop - Actions
                Unit - Remove Spell Book  from (Picked unit)
 
I

IKilledKEnny

Guest
> ertaboy356b

Yeah but ther I found few holes in it (if I recall correctly what I thought :p )

> Kershbob

With major twiching your trigger could work, but mine works and it does what needs to be done with no leaks and no known issues.
 

Kershbob

New Member
Reaction score
30
With major twiching your trigger could work, but mine works and it does what needs to be done with no leaks and no known issues.

It does work and I've used the same base for dozens of triggers in my map; they don't leak and work very efficiently.

By the way add a buff to your aura.
 

ertaboy356b

Old School Gamer
Reaction score
86
Anyway, could you tell me where the Hole is??? I'm planning to use the buff for my future projects...
 

master maste

New Member
Reaction score
32
Is this a joke? there is already an evasion aura so change the name to avoid confusion lol.

my bad didnt read the whole thread and just realised it was evasion (passive) :p that I was thinking about. Still very similar name would be better to change it IMO.
 

Tom Jones

N/A
Reaction score
437
>**well I guess it works, I am not great with GUI anymore, so I'm not real sure if this is as good as it could be, could anyone else give a second opinion?

It's as good as a GUI spell gets, it isn't MUI but it's leakfree. The only changes I would suggest, is to check if the picked unit has the evasion holder but not the buff when you remove the evasion holder from the unit. This will ofcourse also force you to check if the unit has the evasion holder when you add it to a unit, to avoid giving a unit the ability twice (Not that it matters much). You could also limit the use of groups to two, by clearing (Not removing) group[1] after use, and then use it as group[2] or group[3].

Keep it up.
 
I

IKilledKEnny

Guest
> it isn't MUI

Actually I believe it is, I refer only to unit groups which are of course MUI variables.

> What if the aura is leveled up?

The aura has multiple levels, no problem there.

> What about two heroes with different levels of the aura

Effects won't stack.

I'm working on new version that will stop giving the spell again and again when not needed.
 

emjlr3

Change can be a good thing
Reaction score
395
actually no global variables are "MUI" variables, however there are no waits so it should be
 
I

IKilledKEnny

Guest
> actually no global variables are "MUI" variables, however there are no waits so it should be

SFilip told me (and the logic agrees with him) that triggers are not MUI only when using wait and somtimes timers (and that is of course assuming you are not using locals).

What needs to be done so it would be approved?
 

Tom Jones

N/A
Reaction score
437
Regardless of that globals will never be MUI, but as emilj3r said, it's close enough. I might have chosen a bad way to express myself in this case. I've made a tutorial about the subject, it's pretty straight forwarded, and I'm sure you allready understand the idea, however if you have any doubts I'm sure you'll be able to find the answer in it.

>What needs to be done so it would be approved?
It does pass for approval in my opinion, but wheter or not it's approved is being decided by a admin. Just follow/correct their comments, and I'm sure it'll be approved eventually (There's 6 spells awaiting approval at the moment, including yours).
 
I

IKilledKEnny

Guest
> globals will never be MUI

Yeah didn't use words properly.

> it's close enough

That was the result from my tests, yes.

> I've made a tutorial about the subject

Yeah I read it, it was great.

> I'm sure you allready understand the idea

I believe I do.

> It does pass for approval in my opinion

Thanks. :)

> There's 6 spells awaiting approval at the moment, including yours

I know, that's why I'm wondering what should I make it to be approved indeed.
 

Kershbob

New Member
Reaction score
30
Have you got rid of the bug where it reselects your hero every time the trigger fires?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      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