Event on critical hit

In my game I'm trying to add something called skill points. Once you talk to a certain person, I want you to start being able to obtain skill points. 1 is obtained whenever one of your party members does a critical hit. The variable for the amount of skill points is variable 11. Also, there is a special enemy in my game called a training dummy that can't attack, has 1 of each stat (besides having max HP and 0 MP). I want you to get 2 skill points from each critical hit on a training dummy. The enemy and troop for the training dummy are both number 13. Thank you so much to whoever helps me with this!

Original thread: https://forums.rpgmakerweb.com/threads/event-on-critical-hit.59905/