Hi, I want to make skill/spell that will deal damage equal to number of buffs(or debuffs in this situation) for example 20 damage more for each debuff on target unit.
Is there anyway to:
1. check how many buffs target unit has
2. Make spell check only for some buffs/debuffs (for example bonus damage triggers only when unit is stunned, slowed or dazed - still +20 per each while ignoring the other buffs/debuffs)
3. Make spell do diffrent effects based on what buffs/debuffs target has applied on.
edit:
I'm using only triggers, never used JASS, but if JASS will be the only way I'll try it.
Is there anyway to:
1. check how many buffs target unit has
2. Make spell check only for some buffs/debuffs (for example bonus damage triggers only when unit is stunned, slowed or dazed - still +20 per each while ignoring the other buffs/debuffs)
3. Make spell do diffrent effects based on what buffs/debuffs target has applied on.
edit:
I'm using only triggers, never used JASS, but if JASS will be the only way I'll try it.