HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Determining BUFF state of unit

08-24-2003, 03:14 PM#1
Catalyst
Is there any way to determine if a unit is buffed, and with what type of buff?

This is kind of essential to stop units repeatedly casting on already buffed units when using trigger casting...

Cheers

Cata
08-24-2003, 04:08 PM#2
dataangel
You could create a JASS system for keeping track. Other than that I thik there are built in detectors for positive/negative buffs but I can't remember for sure.
08-24-2003, 04:27 PM#3
Catalyst
yeah, but they are only actions to debuff, and they are non specific...

I could write a piece of code / trigger that loads all rejuvinating units into a unit group, but there is no way to test expiry of buff... Mainly because I have 4 different types of rejuvination spell that last different durations

There must be some in game value to detect it, as units which are affected by a spell, do not have that spell cast on them repeatedly...

So how do i access the unit Affects list? Is it possible to do through Jass?

I know it can't be done with conventional triggers... :(

Cata