| 03-07-2006, 06:32 AM | #2 |
Try removing the "Do Nothing"s, and moving the IFs up to be the ELSE of the one above. |
| 03-07-2006, 06:43 AM | #3 |
So, what's the problem with the trigger? And you could seriously optimize this, either by adding the Mangle abilities to an ability array variable at map startup, and then using the (level of husbandry + 1) as the array index instead of all those if-then-elses, or just make mangle a multi-leveled ability and set it's level to (level of husbandry + 1) before casting it; either way, you wouldn't need to repeat all that code 4 times. |
| 03-07-2006, 02:11 PM | #4 |
Well since it gets upgraded by engineering upgrade, you need x of the spells, not one spell with levels. Also the spell wont cast period, thats whats not working. |
| 03-07-2006, 04:04 PM | #5 |
If the hero already casts mangle himself, why would you need a dummy caster to cast it as well? |
| 03-07-2006, 04:53 PM | #6 |
Because mangle is a cripple based, and youd have to select your hero to use it... But i have taunt as a dummy spell so you dont have to select your hero to use it, and plus i wanted the enemies to attack you. so you taunt and then gain the bonus. |
| 03-07-2006, 04:54 PM | #7 |
Tiki, use JASS so you don't make these GUI mistakes :) |
| 03-07-2006, 05:29 PM | #8 |
That's the explanation I was looking for... but it's no reason for the dummy caster's ability to not be a single multi-leveled ability. However, the trigger will only work if the hero casts the default Mangle, since the trigger's condition doesn't account for upgraded versions of the ability. |
| 03-07-2006, 11:05 PM | #9 |
Alright, ill mess with it. |
