GDD + Breath of Fire = Lag?

Jinxx

New Member
Reaction score
4
Ok, first of all I know this isn't the GDD's fault since it's working flawlessly in my other triggers, but this particular spell is giving me some trouble. The spell is called "Mystra's Kiss", and is based off of the vanilla Breath of Fire that deals normal damage and applies a miss-chance curse to enemies via dummies.

What's weird is when this trigger is disabled, the spell works normally (damages all enemies in a frontal cone), but when I enable this, it not only slows my game to a crawl for 2-3 seconds upon casting (due to some crazy trigger loop in the background, I suppose) but it also damages the target 4-5 times, as if the cone nuke was being re-cast 4-5 times in a row! I've disabled all my other triggers, so I know it isn't some trigger-related conflict...

Here's the trigger:

Trigger:
  • Mystras Kiss Effects
    • Events
      • Game - GDD_Event becomes Equal to 0.00
    • Conditions
      • (GDD_DamagedUnit has buff (Ability Buff) (Mystra's Kiss) (Flare)) Equal to True
    • Actions
      • --- remove the cone nuke debuff ---
      • Unit - Remove (Ability Buff) (Mystra's Kiss) (Flare) buff from GDD_DamagedUnit
      • --- create a dummy at the damaged unit's location and order it to curse the damaged target ---
      • Unit - Create 1 Dummy Caster (Jinxx Dummy) for (Owner of GDD_DamageSource) at (Position of GDD_DamagedUnit) facing (Position of GDD_DamagedUnit)
      • Unit - Add (Dummy Spell) (Mystra's Kiss) (Flare) to (Last created unit)
      • Unit - Set level of (Dummy Spell) (Mystra's Kiss) (Flare) for (Last created unit) to (Level of Mystra's Kiss (Flare) for GDD_DamageSource)
      • Unit - Order (Last created unit) to Undead Banshee - Curse GDD_DamagedUnit
      • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)


The strangest thing of all is if I remove the "Unit - Order (Last created unit) to Undead Banshee - Curse GDD_DamagedUnit" line from the trigger, then it actually doesn't lag, but it still deals 4-5 times the spell's damage! :confused:

I need the custom debuff in order to check when a unit is damaged by the cone, and the idea behind it was to do the check, remove the custom debuff (it only lasts 0.01 seconds anyway), and then have a dummy caster pop in and apply a curse to the target if the condition was passed.

(P.S. Ignore the leaks in the spell - I put in the custom points and everything else once the trigger is working 100% as intended without bugs, which is kinda' failing miserably in this case, what with all the lag and unintended penta-damage... :()

EDIT: Some more info to clarify the spells/buffs.

- (Ability Buff) (Mystra's Kiss) (Flare) -> the buff applied by the Breath of Fire
- (Dummy Spell) (Mystra's Kiss) (Flare) -> tweaked Banshee curse
- Mystra's Kiss (Flare) -> tweaked Breath of Fire cone nuke
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Well, my best "for-starters" advice would simply be to turn off the triggers as the very first action in the trigger, and turn it on as the very last action :S
 

Jinxx

New Member
Reaction score
4
Well, my best "for-starters" advice would simply be to turn off the triggers as the very first action in the trigger, and turn it on as the very last action :S

Ok, I just tried this - the lag is gone, but the target is still being damaged 4 extra times over around 0.5 seconds. :confused:

Since I have test text tags showing me damage, I see like 250 the first time the cone hits an enemy, and then 250 pops up 4-5 more times every 0.1 seconds (maybe a little faster). I know this isn't a text tag bug since the enemy's health also goes down accordingly. Damn, this is so weird...
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
well, the loop is because the "curse" ability of the dummy triggers this trigger again. even though curse doesnt deal damage all abilities targeted on enemies are counted as damage events.
and the extra damage might be some sideeffect of the breath of fire ability. i cant remember for sure but didnt it deal damage over time? the buff is counted as damage event as well.
 

Jinxx

New Member
Reaction score
4
well, the loop is because the "curse" ability of the dummy triggers this trigger again. even though curse doesnt deal damage all abilities targeted on enemies are counted as damage events.
and the extra damage might be some sideeffect of the breath of fire ability. i cant remember for sure but didnt it deal damage over time? the buff is counted as damage event as well.

If all targeted abilities are counted as damage, do AoE abilities like Roar count as well? Also, any way to bypass this with conditions?

Breath of Fire deals DoT only if coupled with that other pandaren spell, Drunken Haze or somesuch (the alcohol slows the enemy, and then the breath lights them on fire for DoT, but only if they're covered in alcohol). I put the duration to 0.01 seconds for normal/hero in the data field, so this should't be triggering it. Anyway, turning the trigger off/on as Komaqtion suggested gets rid of the lag, but it's still dealing like 5x damage.
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
If all targeted abilities are counted as damage, do AoE abilities like Roar count as well? Also, any way to bypass this with conditions?

Breath of Fire deals DoT only if coupled with that other pandaren spell, Drunken Haze or somesuch (the alcohol slows the enemy, and then the breath lights them on fire for DoT, but only if they're covered in alcohol). I put the duration to 0.01 seconds for normal/hero in the data field, so this should't be triggering it. Anyway, turning the trigger off/on as Komaqtion suggested gets rid of the lag, but it's still dealing like 5x damage.

as far as i know all skills which are "negative" by default will trigger "damage taken" events but i might be wrong.
 

sentrywiz

New Member
Reaction score
25
First of all, what is GDD? :p

I can't be sure but this caught my eye like a fly inside...

Trigger:
  • (GDD_DamagedUnit has buff (Ability Buff) (Mystra's Kiss) (Flare)) Equal to True


Maybe this kinda says "Aha it still has the buff... hurt it!"
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
I'm pretty sure breath of fire had like 3 actual cones didn't it? I can't remember that well, but I thought 3 or so actual cones damaged units...
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/

      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