Here is the simple trigger that makes a hero drop random item upon being hit by Rogue(non-hero) with Steals items ability:
Event - A unit is attacked
Condition - level of Steals Items for Attacking unit is 1
- Attacked unit is hero equals 1
Action - Hero - drop (Item carried by Attacked unit in slot (Random integer from 1 to 6)) from Attacked unit
- Unit - Order Attacking unit to Right click Last dropped item
However, Attacking unit (Rogue) is frozen in place after the item has been dropped from the hero. Rogue doesn't even fight back, just stands idle. What is the cause of this behaviour? Thankyou.
Event - A unit is attacked
Condition - level of Steals Items for Attacking unit is 1
- Attacked unit is hero equals 1
Action - Hero - drop (Item carried by Attacked unit in slot (Random integer from 1 to 6)) from Attacked unit
- Unit - Order Attacking unit to Right click Last dropped item
However, Attacking unit (Rogue) is frozen in place after the item has been dropped from the hero. Rogue doesn't even fight back, just stands idle. What is the cause of this behaviour? Thankyou.