added effect to battle loop