It´s because the the picked array index is higher than the array is. I don't know how big your arrays are, but I see your using owner of picked unit, which means it can be between 0-15 and if you put multiple conditions in without AND or NOT, it will automatically be OR(only one condition needs to be true).
Because the triggering unit needs to all of the things you listed in conditions. The "and" means that all of the conditions that fall under it need to return true.
If you want the triggering unit to be a hero AND the owner must be player 15 and you want it to be one of the unit types, you could to this:
It´s because the the picked array index is higher than the array is. I don't know how big your arrays are, but I see your using owner of picked unit, which means it can be between 0-15 and if you put multiple conditions in without AND or NOT, it will automatically be OR(only one condition needs to be true).
Because the triggering unit needs to all of the things you listed in conditions. The "and" means that all of the conditions that fall under it need to return true.
If you want the triggering unit to be a hero AND the owner must be player 15 and you want it to be one of the unit types, you could to this: