Well, if you're ok with not being able to use any artillery damage and no multishot and possible bugging of attacks, you can go for the old advanced damage detection method, which is the only way to tell between physical attacks and spell attacks : ).