| 07-02-2005, 10:21 PM | #1 |
How do I make the Blizzard spell NOT hurt the caster and its allies? By default, the targets allowed is blank, so what should I change the targets allowed to? |
| 07-02-2005, 10:50 PM | #2 |
Blizzard might be hard coded thou im not sure about it. If it is, use another ability that gives the desired effect, remove the art effects and have an dummy unit cast an blizzard with no damage. |
| 07-03-2005, 03:17 AM | #3 |
Guest | If it is hard coded than theres no way to get it not to hurt allies. If it isn't check enemy and notself. |
| 07-03-2005, 04:31 PM | #4 |
Guest | I'm not sure but I think you can alter the targets the blizzard spell is aimed for. Just negate ALLIES if that's the case. |
| 07-03-2005, 06:14 PM | #5 |
I'm damn sure Blizzard is hardcoded... However you could just trigger your way around it.. assuming this ability isn't for a unit and it's for a hero of somesort, then it's pretty easy. Create a dummy spell like blizzard ( so that you have the AoE artwork when positioning the spell ) and when cast, have it create an invisible unit ( give it locust too ) with a passive immolation that deals the damage you wanted and with the spell art of what you wanted your blizzard spell to be like. Trigger it so the unit gets created when cast, and if the spell ends then destroy the unit.. you'll need a way to keep track of which unit is which.. but if it's a hero then it's a pretty important unit, thus you'd probably only have one per player at max, thus a unit array where the index translates to a player's player number will do nicely. But before all that, you should probably check that no other spell can be easily edited to fit your needs, like Rain of Fire without its poison... or Healing Spray with negative heal. |
| 07-05-2005, 11:35 PM | #6 |
It's not hardcoded. By being blank that means it will hit everyone. Just put in enemies for targets allowed. I have this in my map and it works fine(doesn't hurt the caster or his allies). |
| 07-06-2005, 12:01 AM | #7 |
I would sell my soul on the fact that Blizzard is hardcoded. As such I went ahead and checked. See for yourself, no matter what you choose for targets, it targets everything. |
