This script can be used to simulate the ability to adapt in the midst of battle by giving the victim skills that reflect this adaptations. This would occur a small percentage of the time.
Ability for enemies to give skills to characters at random when they hit.
RGSS3 Script Requests.......You might want to give a LOT more detail...
Isn't he/she referring to Blue Magic?
Ok. Let's say a character is fighting some goblins. Each hit by goblins has a small chance of giving the character +1 damage against goblins, thus simulating adaptation. Maybe the character is being taught a martial arts move by an NPC. Each hit has a chance of giving the player said move, thus simulating learning through practice.
Original thread: https://forums.rpgmakerweb.com/threads/ability-for-enemies-to-give-skills-to-characters-at-random-when-they-hit.21011/