My idea is attaching another effect to the Fireball spell, which would deal additional damage but only under certain circumstances. One of the conditions would be 'caster is sneaking' for sure. But I'm not sure about other conditions related to the enemy behavior towards the player.
For example, I want the player to be able to deal sneak damage only on the first cast when the enemy is idle. Don't want the sneak to work after that, when the enemy is already searching for the player, etc.
Any idea which conditions should I use on the effect?