Jump to content
EleTD.com
mrwonderful

Stacking (de)Buffs of Different Levels...?

Recommended Posts

Hey, I just had a quick mechanics question. It's impossible to reliably test this in-game because there's no combat log, but basically it's what the title says.

 

How do debuffs that stack infinitely (or otherwise) stack with different levels of that debuff? Like, say you have a flamethrower tower at the top left corner that applies stacks of the napalm debuff to the target, and then a flamespewer tower in the middle section that applies the same debuff, but at a higher level. Do all applied stacks of the flamethrower napalm debuff get updated to the flamethrower debuff when a unit gets attacked by the flamespewer? Or does it just add stacks of the same level debuff that the flamethrower tower applied, without updating to the flamespewer debuff?

 

And as a corollary, if the buff stacks do get updated, is it omnidirectional? Like, using the above example, let's say the tower positions were reversed (that is, flamespewer at top left and flamethrower in center section); do the buff stacks get downgraded when the flamethrower tower attacks the creeps, or does the game just take the highest level debuff and just add stacks of that?

 

 

thanks in advance!

Share this post


Link to post

For stacking and other multiple debuffs, each instance is separate. Some show as stacked just to not fill the debuff bar (I implemented this not long ago), but each have their own thinker for damage and will use the damage of the tower that applied the stack in the first place.

 

Now that I think of it, I think I never added the stack system to the Flamethrower tower ability.

Share this post


Link to post
11 minutes ago, Noya said:

For stacking and other multiple debuffs, each instance is separate. Some show as stacked just to not fill the debuff bar (I implemented this not long ago), but each have their own thinker for damage and will use the damage of the tower that applied the stack in the first place.

 

Now that I think of it, I think I never added the stack system to the Flamethrower tower ability.

 

Do I understand that last part to mean that the napalm debuffs didn't stack in the way you described (merged for decluttering) or that they weren't stacking, period?

Share this post


Link to post

is a bleed effect (numbers appearing above the unit but different colors) better then actual debuff/buff icons which dont give that much info. Also is it really that hard to make the combat log work with eletd (in fact I thought it actually did..?)

Share this post


Link to post

Combat Log is for dota abilities and we have no access to it but I have plans to do a custom log with filters and all

Share this post


Link to post

×
×
  • Create New...