[Import] Rain of Frost Arrows doesn't slow enemies

There is a custom buff that you'll need to copy into your map as well.
  1. In the Frost Arrows sample map, go to the object editor > Buffs/Effects and copy the "Frost Arrows" buff
  2. In your map, go to the object editor > Buffs/Effects and paste it
  3. In your map, go to the object editor > Abilities and look for the "Frost Arrows Slow - Dummy Cast" ability that you copied over. Update its "Level X - Stats - Buffs" field to the buff you pasted into your map
If that doesn't work, I would double-check that you put the correct IDs in the configuration for the FrostArrows trigger:
JASS:
        private constant integer SPELL_ID       = 'A000' //spell raw code 
        private constant integer FROST_NOVA_ID  = 'A001' //dummy spell id
        private constant string  DUMMY_ORDER    = "frostnova" //dummy order
 
Level 15
Joined
Jul 19, 2007
Messages
855
There is a custom buff that you'll need to copy into your map as well.
  1. In the Frost Arrows sample map, go to the object editor > Buffs/Effects and copy the "Frost Arrows" buff
  2. In your map, go to the object editor > Buffs/Effects and paste it
  3. In your map, go to the object editor > Abilities and look for the "Frost Arrows Slow - Dummy Cast" ability that you copied over. Update its "Level X - Stats - Buffs" field to the buff you pasted into your map
If that doesn't work, I would double-check that you put the correct IDs in the configuration for the FrostArrows trigger:
JASS:
        private constant integer SPELL_ID       = 'A000' //spell raw code
        private constant integer FROST_NOVA_ID  = 'A001' //dummy spell id
        private constant string  DUMMY_ORDER    = "frostnova" //dummy order
I have checked everything and it seems to be like it should be. I think there is something wrong with the dummy unit but I don't know what's wrong but it seems like it refuses to cast the slow ability on damaged enemies...
 
Try making a blank map and then transferring the spell into it. That will help you rule out whether it is some process/configuration issue, or whether it is something perhaps specific to your map.

If you run into the same issue importing the spell on a blank map, then you can attach it here and we can help take a look.
 
Level 15
Joined
Jul 19, 2007
Messages
855
Try making a blank map and then transferring the spell into it. That will help you rule out whether it is some process/configuration issue, or whether it is something perhaps specific to your map.

If you run into the same issue importing the spell on a blank map, then you can attach it here and we can help take a look.
Seems like I found out the problem. I had to change the sight radius of the dummy. Now it seems to be working!
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
I had to change the sight radius of the dummy.
Dummies need to have vision of the target to cast most unit-targeted abilities. Most of the time it's not necessary to give the dummies themselves sight range, since anything the triggering unit wants to cast on it can probably see, and if they have a large radius it CAN affect what's revealed in FoW depending on your dummies' expiration timers. In general, though, you can get around this by making your dummies owned by a neutral player with vision granted across the entire map (as long as they don't need damage/kill credit via their casts like you don't, here).
 
Top