Hey guys i have made an assassinate spell like dwarven sniper's ultimate spell on dotA, but it doesn't hit invisible units can u tell me why i will post my triggers and my test map. You just tell me what can i do for that?!
E:A unit starts the effects of an ability
A unit begins casting an ability
A unit begins channeling an ability
C:Ability being cast equal to Assassinate
A:Set Sniper_Caster = Casting unit
Set Sniper_Target = Targeted unit of ability being cast
Unit - Create 1 Sniper Dummy at position of Sniper Target
Set Sniper_Dummy = Last created unit
Unit - Add Assassinate Buff to Sniper_Dummy
Unit - Order Sniper_Dummy to Neutral Alchemist - Acid Bomb Sniper_Target
If: (Sniper_Target has buff Sniped) equal to true
Then: Unit - Grant Shared vision of Sniper_Target to owner of Sniper_Caster
Else: Do nothing
Not in else: Wait 1 second
Unit - Remove Sniper_Dummy from the game
E:A unit starts the effects of an ability
A unit begins casting an ability
A unit begins channeling an ability
C:Ability being cast equal to Assassinate
A:Set Sniper_Caster = Casting unit
Set Sniper_Target = Targeted unit of ability being cast
Unit - Create 1 Sniper Dummy at position of Sniper Target
Set Sniper_Dummy = Last created unit
Unit - Add Assassinate Buff to Sniper_Dummy
Unit - Order Sniper_Dummy to Neutral Alchemist - Acid Bomb Sniper_Target
If: (Sniper_Target has buff Sniped) equal to true
Then: Unit - Grant Shared vision of Sniper_Target to owner of Sniper_Caster
Else: Do nothing
Not in else: Wait 1 second
Unit - Remove Sniper_Dummy from the game