What
Attempts to keep track of how many times you have committed a criminal act in a city by casting a skill that's marked as one, and also attempts to keep a count of how many times you have died as a result
/darwinaward to output current record to chat
/darwinawardtochat to create a new message you can send with the record
Why
Someone in my guild wondered if there was an addon that would show them how many times they've died due to accidentally hitting an ability key that's considered a criminal act, like necromancers skeletons
What else
Honestly this was thrown together quickly without much thought on the process, currently it goes as follows:
Listen to combat events, check if ability is one of the listed criminal act abilities, and if so ->
Listen to infamy changes, if infamy level changes to 3 ->
Consider it as having happened due to someone witnessing your criminal act, listen for player combat state ->
If combat, listen for player death ->
Add to death counter if player dies
If anyone has any ideas on a more bulletproof idea, I'm all ears