can someone tell me how to restrict items in shot to be bought by units that are not heros (tomes) but have a hero inventorey (vex copycat e.g.) dont tell me use a hero as req. plz, this doesnt work !
The request is about a spell that uses megentic force: a ball fired at a target loc that will attract enemies, dependent on how close they are and when it reaches the target loc, it push everything away, and deals damage, dependent on how colese they are. i know jass and know how to make sw like spells, but i coulnt figure out a fuction to be called with a distance and a dir for pushing/pulling unit.
The request is about a spell that uses megentic force: a ball fired at a target loc that will attract enemies, dependent on how close they are and when it reaches the target loc, it push everything away, and deals damage, dependent on how colese they are. i know jass and know how to make sw like spells, but i coulnt figure out a fuction to be called with a distance and a dir for pushing/pulling unit.