constant mana burning abilities

Is there any trigger that fires when immolation is turned off (either by user action or mana is depleted)? I'd like effects to the unit to be added/deleted based on whether the ability is in use.

The only work around I have found is to add a buff with immolation, then you can check when unit has a buff.

BUT, this is a condition and not an event, meaning if you want decent time accuracy, you need a fast time loop and continually poll it (laggy sounding).

ThySpektre
 
you could just have a trigger that every bla seconds of the game, subtracts bla from units manna, and health
 
I like Pryomancer's idea, in general, although I have an ability based on mana shield that runs a trigger that checks when it gets deactivated that doesn't seem to lag much. Provided the ability only belongs to a few units/heroes rather than a large group, you should be fine with either trigger.
 
Well, yes, um, that is what I asked about...

The bla issue bla bla is that you only want it to subtract bla when the ability is activated. So, since you need an ability that can be activated/deactivated (ala Immolation) and since activating it and deactivating it doesn't cause an event to happen...

The original question was DOES it fire any events or is there a good way to accomplish this.


Pyromancer said:
you could just have a trigger that every bla seconds of the game, subtracts bla from units manna, and health
 
Is that check based on whether ti still has the ability's buff or not?

ThySpektre

ADNORM said:
I like Pryomancer's idea, in general, although I have an ability based on mana shield that runs a trigger that checks when it gets deactivated that doesn't seem to lag much. Provided the ability only belongs to a few units/heroes rather than a large group, you should be fine with either trigger.
 
Check the free trigger code thread, i posted this trigger set once, and it works perfectly. Or, check the "Evasion draining mana" thread... The same trigger, but it might be better.
 
Persen,

Afer some digging I found that post you talked about. I have a question regarding your implementation.

In this trigger...

Code:
Evasion On
    Events
        Unit - A unit Is issued an order with no target
    Conditions
        (Unit-type of (Ordered unit)) Equal to Archmage
        (Issued order) Equal to (Order(immolation))
    Actions
        Set TempUnit = (Ordered unit)
        Unit - Add Evasion Spellbook  to TempUnit
        Unit - Set level of Evasion Spellbook  for TempUnit to (Level of Evasion  for TempUnit)
        Custom script:   loop
        Custom script:   exitwhen (GetUnitStateSwap(UNIT_STATE_MANA, udg_TempUnit) < 1.00)
        Wait 0.50 seconds
        Custom script:   endloop
        Unit - Remove Evasion Spellbook  from TempUnit
        Set TempUnit = No unit

You have a loop to make sure the ability is removed when the mana hits 0 and you have another trigger to remove it when the ability is deactivated.

If the person turns this ability on, and then off many times thru a game without allowing his mana to hit 0, won't Ihave a ton of loops left running throughout the game?

ThySpektre

Persen said:
Check the free trigger code thread, i posted this trigger set once, and it works perfectly. Or, check the "Evasion draining mana" thread... The same trigger, but it might be better.
 
ThySpektre said:
Persen,
You have a loop to make sure the ability is removed when the mana hits 0 and you have another trigger to remove it when the ability is deactivated.

If the person turns this ability on, and then off many times thru a game without allowing his mana to hit 0, won't Ihave a ton of loops left running throughout the game?

Yes you will, and it will make the game lag pretty bad :o
 
I did this in my newbie days, and i didn't know anything about leaks...
 
turning it off uses a different order string: unimmolation. Just change the mana required field, and mana drained field, and it'll turn off by itself, and then a trigger with the event: Unit is issued an order with no target
and condition: issued order equal to (unimmolation)

If you want to create custom special effects, just change the buff's target's effect, and immolation's effects.
 
Darthfelt,

You missed one point. We want to add an ability that is NOT mana draining passive ability. With that being the case the OTHER ability needs shut off.

ThySpektre
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
    +1
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.
  • The Helper The Helper:
    Also, anyone who is reading this and is sad - don't be, turn off the Internet, step away from the box - enjoy your life - there is so much more out there for you than there is here for you.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top