Another ability problem - Max Life Aura

  • Thread starter Thread starter Primal_Fury
  • Start date Start date
P

Primal_Fury

Guest
I'm having some problems on figuring out how to make an aura that adds to max life. I've tried making unit groups but I think I'm missing a few important parts. So far I have...

Events: Time - Every 0.01 seconds of game time.
Conditions:
Actions: Unit Group - Pick every unit in (Units in (Entire map)) and do (Actions)
--> Loop - Actions
--> If (((Triggering unit) has buff Commanding Presence) Equal to True) then do (Unit Group - Add (Triggering unit) to AuraGroup else do (Do nothing)

That is for putting the units with buff into the group, but I haven't been able to figure out how to make the Unit Group have a higher max hit points. I haven't been able to find anything for the second part yet. Any help would be appreciated.
 
Why not just give them all the ability "Item Life Bonus" ?

dArKz
 
I did try that, but made the ability, gave it to him.....and it didn't do anything at all. I made the item ability, changed it to hero, fixed all the stats and tested it. It didn't increase his hit points, didn't even show up in the command thing in corner (with Attack, Defend, Hero Skills, etc.) I probably did something wrong with it, but I would really like it to be an aura...it fits the heroes "theme".
 
Well, the whole point is that it's NOT supposed to show up in the "command thing" that's why I suggested it to you. I meant for you to give the ability to all picked units.

dArKz

Edit//
Try this:

Code:
    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 Devotion Aura) Equal to True
                    Then - Actions
                        Unit - Add Item Life Bonus (Lesser) to (Picked unit)
                    Else - Actions
                        Unit - Remove Item Life Bonus (Lesser) from (Picked unit)
 
Ohh LOL. I thought you meant to give that to the hero. I'm going to try that out now. Thanks for the response.
 
Hmmm...I forgot to add that i want it to increase by a %...anyone know how to do that?
 
Okay, I ran into ANOTHER problem with this ability. I have the triggering right and it should work, but it doesn't. Instead of giving the aura that increses hit points when skill is "bought" it automatically gives all the heroes (haven't checked regular units) the extra 30000 hit points (was using for testing LOL). Basically when I get the skill, it doesn't do anything, but all of the heroes already have bonus hit points. My trigger for this is....

Events
Time - Every 0.01 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 Primal Aura ) Equal to True
Then - Actions
Unit - Add Item Life Bonus (least) to (Picked unit)
Else - Actions
Unit - Add Item Life Bonus (least) to (Picked unit)

I have 4 different custom buffs (1 for each level of the spell) and 4 different triggers, changing the Primal Aura buff for Primal Aurax, Primal Auraxx, and Primal Auraxxx in If - Conditions.

Example: Level 1 aura that gives nothing but Primal Aura "dummy" buff, which, from the trigger should give you and all allies in range of aura the hit point bonus, but it doesn't. Help here is needed and it will be greatly appreciated.
 
First off, try not to triple post, those are forum rules. Just edit previous posts.

Secondly, your trigger is wrong. Look where it says:

Then - Actions
Unit - Add Item Life Bonus (least) to (Picked unit)
Else - Actions
Unit - Add Item Life Bonus (least) to (Picked unit)

This is making the trigger give the bonus to all units who DO have the buff, and all units who DON'T have the buff as well. Try changing it to "Remove Item Life Bonus (least) from (Picked Unit)" under the "Else" part of the statement.

dArKz
 
Oops..I think I just copied and forgot to change to remove on the others, so thanks for that. About the triple post, didn't notice that I already had 2, sorry about that. Anyway, thanks for the help, that should get it.
 
You should register if you have any more questions. People are very helpful here and if you register you can edit your posts and not break forum rules. Thanks.
 
I was thinking about registering, the thing is that I sometimes spend a day or two on WE and then leave it for a month, so not always consistently on it. But like I said, I have been thinking about it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.
  • The Helper The Helper:
    400 users all online all looking at latest content

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top