Core/SAI: Make SMART_ACTION_SET_INGAME_PHASE_MASK set the phasemask of the target_type instead of always the source calling the action type.
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb