If you look at critical strike or bash it has a percentage, and the spell that i wont to make has a percentage that it has 5% chance of creating 2 illusions and then 15% to create 3 illusions.
What do you really intend to do? I don't really understand... You want everytime the unit attacks to be a small chance that it's affected by Mirror Image? Then... base it off Orb of Lightning ability (Neutral Passive - Item) but use instead of Purge, Mirror Image.
when u make a spell like critical strike do you use orb of lighting??
and like before i mean
there is a 5% chance to create 1 illusion. there is a 10% chance to create 2 illusions. there is a 15% chance to create 3 illusions.
or
there is a 5% chance to cast flame strike at a random point with 600 range of the hero. there is a 10% chance to cast flame strike at a random point with 600 range of the hero. there is a 15% chance to cast flame strike at a random point with 600 range of the hero.
Well... There might be some kind of Flame Strike at the position of the targeted unit I think... I never tried before. But for activating Mirror Image it is possible. And yes, Orb of Lightning activates like Critical Strike only at attack. So, spells like Evasion wouldn't work. And you can't use Passive Spells on this passive as well.