how do i setup these skills?

How would I go about setting up these skills?


Skill 1 (Basic): Pinpoint


Carefully aims at the enemy before shooting, giving you a 30% Critical Rate increase when you attack.
 
Skill 2 (Active): Bullseye


Discovers the weak spots of the enemy and fires a single bullet dealing damage and ignoring Defense. (Cooldown: 4)


Skill 3 (Active): Sure Shot


Increases the Critical Rate of all allies by 1 stage for 3 turns. Your next attack will have a 30% chance to ignore Defense. (Cooldown: 3)


note: a single stage offers 25% increase
Skill 1 just requires you to have the skill add a state which has +30% Critical Hit as a feature.


Skill 2 requires you to get that up in the damage formula. Set the formula so that b.def is not used anywhere in the formula. Then, defense is ignored.


Skill 3: That will be tricky, as a 30% chance to ignore defense is either going to require advanced use of the damage formula box, or a plug-in. Maybe see if someone on the damage formula thread can find a way to make it work, else you may need to post under JavaScript support to ask how to write the JavaScript code for this skill.
Thank you so much. This helped. And I will ask around about the 3rd as instructed.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-setup-these-skills.71713/