Core/Spells: Fix try for logic fail in 4ba3c2e51df0485449a4bd01f162faa719334be9
Core/Battleground: fix type mismatch

Ref #10320
Merge https://github.com/TrinityCore/TrinityCore