Very nice plugin, Alistar. I'm wondering if I can increase an ability with a variable.
I tried this
$gameActors.actor(1).increaseAbilityLevel("Test", v[88]); and it did not work. Is it possible?
Um, is it possible to use the parameters in the damage formulas?
I have my doubts about that because I wouldn't be able to use them in a battle test, since we have to set them up in-game.
Awesome update Alistair thank you for doing this. Do you happen to know the syntax for checking if an actor has a certain ability level in a shop and graying out there name if they cannot equip something? I'm kind of stuck with this, I was using Yanfly Equip Requirements and it works mechanically but not visually. For instance I can use...
<Custom Equip Requirement Condition>
if (user.abilityLevel("Heavy Armor") > 0) {
condition = true;
} else {
condition = false;
};
</Custom Equip Requirement Condition>
...and it works but doesn't show that in the shop status and is a little buggy in shop. I was trying to see if there was a way to do it without that plugin by doing something like...
if (user.abilityLevel("Heavy Armor") > 0)
then can equip
else
then cannot equip
I just don't know the proper way to say the can equip/cannot equip part. I'm trying to see if it will work visually in shop this way instead of using Yanfly Equip Requirements. Big thanks if there is a way to do this.
Thanks for the reply. Allow me to elaborate more. Yes I'm using Yanfly Shop and played with it so much to try and get it to work right that I may just give up on it. I experimented using as few scripts as possible. I've been working on this issue for about a month. I got it to where I was just using your Stat and Ability Distribution, Yanfly Shop, Yanfly Equip Core and Yanfly Equip Requirements. Basically if I use this...
<Custom Equip Requirement Condition>
if (user.abilityLevel("Heavy Armor") > 0) {
condition = true;
} else {
condition = false;
};
</Custom Equip Requirement Condition>
It seems to only work for the first actor and completely ignores the other actors for some reason in shop (visually, it still works mechanically.) For instance let's say that all actors have Heavy Armor at 1 point which means they can all equip Basic Heavy Armor, it will only show that Actor 1 can equip it in shop and the other actors will be greyed out like they can't use it for some reason even if they all have the associated Armor Trait.
What I'm trying to do is have a classless type system and using your ability distribution so players can basically create their own character with a lot of customization. So I have only one class in database that have all Equip Traits by default but in order to actually equip the item then they will need to have enough points in the respective ability. For example in order to use a Basic Sword then the character will need at least 1 point in the Sword Ability. For some reason it ignores the other 3 actors visually.
Alternatively if everyone has all Equip Traits and Actor 1 has let's say Swords at 1, and Actor 2 has Spears at 1, Actor 3 has Bows at 1, and Actor 4 has Staves at 1 then for some reason it shows that Actor 1 can equip everything (but he shouldn't be able to because he only has a point in swords so theoretically they should all be greyed out EXCEPT the sword but it shows he can equip them all. It also greys out the other actors completely and shows they can't equip anything at all even though mechanically they can still equip what they have ability points in.
If I try to do it without traits and have them learned as a passive skill then it works better but will still show they can equip something even if they don't have enough ability points. I'm trying to get it where it only shows what can equipped if enough Ability Points are in the proper Ability. Hence why I was asking how to do it without Yanfly Equip Requirement dependability because if I take that plugin out then it works quite a bit better (but still not perfect.)
Sorry if it's long winded, I'm just trying to get the syntax for "can equip" and "cannot equip" to see if it works without Yanfly Equip Requirements, because I'm 90% sure that plugin is causing the visual issues. Thanks for your time Alistair, if you would rather not mess with it then if you know the proper syntax that I could use then that would be more than enough. To restate I'm trying to make an IF, ELSE statement that does this independently of using Yanfly Equip Requirement...
So like...
if (user.abilityLevel("Heavy Armor") > 0)
then can equip
else
then cannot equip
I just don't know the proper way to type out the bolded. I know I could theoretically do a bunch of passive states and a bunch of Weapon and Armor Types and Traits to get what I want to happen but I'm trying not to resort to that so there are no lag issues and it will take a very long time to do properly but I'm more worried about the lag that it will cause than anything else. I don't expect you to be able to fix this issue but if you know the syntax for the bolded then I can do the rest and if it doesn't work then well hey I might come up with another system. Thanks for your time, I appreciate it.