Hi there, basically what I want to figure out is having a character learn a skill based on their current stat number as opposed to level or equipment. I know there are various methods (event and script) that allows a character to learn x skill at y level. What about let's say a character learns a skill when their ATK is 12 or more, or if a character learns a skill when their MAT and MDF is 20 or higher?
I don't mind the solution being eventing or scripts, thanks.
Why not both? 😀
Make a parallel process common event and put in the following script (this example assumes that you want to teach actors skill 50 if they have 12+ atk)
$game_party.members.each { |actor|
if actor.atk >= 12
actor.learn_skill(50)
end
}
Just curiosity
Would that distinguish between the base stat and the base stat plus any boost given by e.g. weapon or armour? Would it matter to game play if it couldn't?
And wouldn't that teach all actors with 12ATK that skill? But you probably want to distinguish between actors.
That would include bonuses and yeah, would teach it to everyone. You could just do $game_actors[id] for a specific character.