An experience issue

(Sam) #1

Domtate’s very helpful tutorial on setting up a MOB gives me one issue:
When a MOB dies from stepping on a a trap or something, the player is getting experience.

Does anyone know a way to check to see that the MOB is targetted by the player at it’s time of death?