In Yanfly's Skill Learn System, you can run a code when the skill is purchased. Using Frog Talent Core, I currently have it set to do this:
The idea is that when the actor buys the skill, it gives them +5 to their Athletics talent. Really, what it does isn't important so much as that I need it to be able to know who is buying the skill. I want different actors to be able to buy the same skill, but have it react differently based on who bought it, giving each the relevant buff.
I tried doing so with Yanfly's Passive States, but for purposes of the Talent plugin, there's nothing that works. When you call on the Talents, it does not include its Bonus in the calculation, only the Base, so the note tag didn't matter for formulas. I use it exclusively for formulas, not its built in roll functions.
If anyone knows a way to get the ID of the purchasing actor or can think of a better way to go about this, I'd appreciate it.
I figured out almost immediately from experimenting that I am blatantly wrong and did it incorrectly before. Please ignore this. I cannot find a delete option.
<Learn Cost Eval>FROG.Talents.setTalentRanks(1, "athletics", 5);</Learn Cost Eval>The idea is that when the actor buys the skill, it gives them +5 to their Athletics talent. Really, what it does isn't important so much as that I need it to be able to know who is buying the skill. I want different actors to be able to buy the same skill, but have it react differently based on who bought it, giving each the relevant buff.
I tried doing so with Yanfly's Passive States, but for purposes of the Talent plugin, there's nothing that works. When you call on the Talents, it does not include its Bonus in the calculation, only the Base, so the note tag didn't matter for formulas. I use it exclusively for formulas, not its built in roll functions.
If anyone knows a way to get the ID of the purchasing actor or can think of a better way to go about this, I'd appreciate it.
I figured out almost immediately from experimenting that I am blatantly wrong and did it incorrectly before. Please ignore this. I cannot find a delete option.