| 03-30-2010, 06:05 AM | #2 |
1. You can't use Waits in a "Pick every unit in XXX" 2. You're actually setting the picked units life to -50, not dealing 50 damage to it. BIG difference. Replace the Wait and Set life with this: Trigger: Unit - Cause (Triggering unit) to damage (Picked unit), dealing 50.00 damage of attack type Spells and damage type Universal |
| 03-30-2010, 06:08 AM | #3 |
excellent you're a life saver. oh and what do i replace wait with? i want the effect to last a bit to look cool. |
| 03-30-2010, 06:12 AM | #4 |
Well, you should never deal damage by setting a unit's life with a negative value. Also, you're setting their HP to -50, not subtracting 50 from it. Creating special effects like that in succession will most likely lead to memory leaks... Can't tell at the moment, the GUI isn't registering. And, I think what you're doing is picking the first unit, waiting 4 seconds, dealing damage and then picking the second unit, waiting 4 seconds again... It's very likely that "Casting Unit" isn't being referenced correctly. Also, you should really re-trigger this. What's the point of adding them to the "CoC" group? EDIT: Argh. So slow. |
| 03-30-2010, 06:17 AM | #5 |
its working perfectly actually. everything is going great. all units in coc get the special effect and get damaged properly. |
| 03-30-2010, 06:35 AM | #6 |
You replace the Wait with vJass. :p |
