horn/TrinityCore — comment on commit 14b2f3084246030f82e0a8b696764d494e053f4e
File: src/server/scripts/Northrend/Ulduar/Ulduar/boss_yoggsaron.cpp line 282
By Discover-:

Better to simply use

```code
if (GetTargetApplication()->GetRemoveMode() == AURA_REMOVE_BY_ENEMY_SPELL || GetTargetApplication()->GetRemoveMode() == AURA_REMOVE_BY_EXPIRE|| GetTargetApplication()->GetRemoveMode() == AURA_REMOVE_BY_DEATH)
GetTarget()->CastSpell(GetTarget(), SPELL_MALADY_OF_THE_MIND_JUMP);
```

Less lines and much easier to read.