Oh, didn't see the second question.
You need a damage detection system that has dices and sides implemented. For now, I have no solution. Anachron prepares a system though, ask him for more info. He works with vJass though, but if he knows how to help you, simply implement his system in your map and ask him of how to call the system into your trigger. Currently though, I only saw one system that detects that, but I have no idea where that map is.