| 03-02-2008, 09:51 PM | #1 |
I have a building that I would like to have cast a bloodlust based spell on all friendly (player owned or ally, either one will work) units within range of 1200 of the building at 18:00 every night. I've tried some GUI things but they only will cast the ability on one unit. I set the ability to cooldown of 0 and mana cost 0. I think I need some JASS help for this one, and hopefully it will be simple. It has to be a loop because it needs to have different buildings from different players do this all at once. I have variables for Temple[unitarray] and Number of Temples (integer). Here's what I need: Loop for Temple[0] to Temple[Number of Temples-1] Cast bloodlust on every friendly unit within 1200 of Temple[x] at 1800 |
| 03-02-2008, 10:07 PM | #2 | |
Quote:
|
| 03-03-2008, 11:19 AM | #3 |
Depending on what effects of the bloodlust you need, there might be an AoE spell that does the same thing; for movement speed bonus, the scroll of speed ability. For move and attack speed, I think silence can do those both. For unit size... well, you really need bloodlust for that. :) |
| 03-03-2008, 04:45 PM | #4 |
have a event that detects when it's 18:00. Then give the tower the ability and make it use on everyone in range. You could set the cooldown and mana to 0. Then remove the ability. |
