| 09-24-2004, 09:49 PM | #1 |
Is there "Add Buff Function" which would add a buff (any) to unit or unit group! I want to do that with trigger action Custom Text () I would also apreciate if you could explain what each part of function does. Thanks! |
| 09-25-2004, 02:17 AM | #2 |
AFAIK, there is only the dummy caster method via spells to apply buffs on units (except very specific ones). |
| 09-27-2004, 09:13 PM | #3 |
How does this dummy caster method work? |
| 09-27-2004, 10:28 PM | #4 |
make a caster have the ability that has the buff, then order the caster to use that spell. |
| 09-29-2004, 09:37 AM | #5 |
I don't know about adding buffs specifically, but I know UnitRemoveAbility can get rid of them. Also, the Unit Has Buff check is essentially an encapsulated form of GetUnitAbilityLevel. This, to me, strongly suggests buffs are simply a form of ability you can add and remove like any other- though whether you'd get any accompanying spell effects is another matter- I doubt it. Try messing about with this. |
| 09-29-2004, 01:09 PM | #6 | |
Quote:
You're right that you can detect and remove buffs using the ability related functions. Though, UnitAddAbility cannot add buffs for some reason. |
| 09-30-2004, 05:27 PM | #7 |
I know for Unit - Remove Buff function and functions similar to this one. But that's not what I need. I tried dummy caster and it was ok! Thanks! |
