| 01-09-2008, 07:20 PM | #1 |
I want to be be able to stack multi-level attack damage % increase buffs, but I keep running into problems, here is what I tried. 2 abilities based on Inner Fire: One cancels the other, failure. 1 ability based on inner fire, one ability based on "insert ability here" with negative damage reduction (eg cripple). Problems: Now i'm limited to 2 and i want 10, not much gained. Things like purge will remove the buff because it is a negative buff, which sucks. Give the unit an aura based on Trueshot with 0.01 area and self target. Problems: Icon shows up. Any time you buff a unit the green +dmg flickers (annoying, unprofessional) for ALL units in the area. Ability is not dispellable and doesnt register in the count buffs routine nor removebuffs routine. Unacceptable. Give the unit a disabled spellbook with Trueshot Aura in it, like above. Problems: Same green +dmg flickering, when you remove the spellbook it closes any spellbook that was opened, and that is unacceptable. If you only remove the trueshot aura and don't remove the spellbook then the next time you add the spellbook nothing happens. Each level of the buff must also then have its own ability because SetUnitAbilityLevel doesn't refresh aura buffs. So your stuck with either ((1 ability + 1 spellbook) * number of levels per buff) * number of buffs (in this case 9 abilities per buff), or a halfassed 4 second wait until your buff actually works right. Anyone got any more ideas? |
| 01-09-2008, 08:07 PM | #2 |
If you're good at vJass you could always give Anitarf's buff system a shot. http://www.wc3campaigns.net/showthread.php?t=95521 |
| 01-09-2008, 08:39 PM | #3 | |
Quote:
The main issue here is what ability to use for the damage bonus. Item damage bonus abilities only add absolute damage so they suck for % bonuses (you'd need a bonus mod and a way to get the unit's base damage), auras like command or trueshot have the issues listed in the first post. Can't really think of a percent damage bonus passive ability; you could try casting a multi-level buff spell like inner fire with dummy casters whenever the buff on the unit has to go up a level. |
| 01-10-2008, 01:07 PM | #5 | |
Quote:
Well hey, I have a bonus mod and I have all my unit's base damage, how did I overlook this? I actually have more than that, so... Theres an item defense, item attack speed, and item movement speed. The only issue is updating it upon changes then. Which I think will be OK if I don't update. All my items that increase attack damage are also known (scripted) and use bonus mod, so I could theoretically include item damage bonuses in the damage % bonus! Anitarf you are brilliant. The only problem is its not naturally dispellable, but its the best I can do isn't it... EDIT: Holy crap, movement speed bonus abilities with negative values dont work at all, they are permanent, even when removed! Bleah! THANK GOD FOR TORNADO SLOW AURA EH? |
