- Joined
- Jun 1, 2008
- Messages
- 180
I'm trying to make a unit deal double damage against a target with a specific buff. It should work like this: whenever the unit with the buff takes damage, it gets damaged by the damage source a second time.
There are two variables; one's the unit that cast the buff on the target earlier, the other one's the unit that has the buff.
I tried doing it the following way: there is a trigger for the ability itself (when the target receives the buff), both variables are set in this trigger. There is a different variable for the damage, where there is no event. The event is added to the trigger with a different trigger by using the trigger - add new event option.
It just doesn't want to work!
I've already had a working spell like this yesterday, and for some reason, that one doesn't work anymore either - even though I'm 10000% sure that I haven't even touched it!
What should I do?
There are two variables; one's the unit that cast the buff on the target earlier, the other one's the unit that has the buff.
I tried doing it the following way: there is a trigger for the ability itself (when the target receives the buff), both variables are set in this trigger. There is a different variable for the damage, where there is no event. The event is added to the trigger with a different trigger by using the trigger - add new event option.
It just doesn't want to work!

I've already had a working spell like this yesterday, and for some reason, that one doesn't work anymore either - even though I'm 10000% sure that I haven't even touched it!

What should I do?