Ah, there's your problem. It isn't possible with just VisuStella notetags to prevent the choosing of a given target. You can modify the targets a skill *affects*, but you can't stop them being selected in the first place.Bless skill removes negative states. It can only be used on a target with one or more of those negative states.
If you have [x] skill (improved bless) then youG ain 4% mp if successful (so basically, when used).
Ah, there's your problem. It isn't possible with just VisuStella notetags to prevent the choosing of a given target. You can modify the targets a skill *affects*, but you can't stop them being selected in the first place.
There is a caethyril plugin that offers this functionality, but it's beyond the scope of a VS tag thread.
Huh. That's...not intuitive. So the JS Targets notetag should only be used on skills that have a multi-target scope, and it will cause only some of them to be affected? And the included All Allies But User notetag will still show the selection as being...whatever you defined the skill's scope to be, and if you select yourself it will just fail?Ah, there's your problem. It isn't possible with just VisuStella notetags to prevent the choosing of a given target. You can modify the targets a skill *affects*, but you can't stop them being selected in the first place.
Yes, <JS Targets> can modify the skill scope before it executes and control which battlers it *will* target, but the initial manual targeting will still be in accordance with the database setting for the skill.Huh. That's...not intuitive. So the JS Targets notetag should only be used on skills that have a multi-target scope, and it will cause only some of them to be affected? And the included All Allies But User notetag will still show the selection as being...whatever you defined the skill's scope to be, and if you select yourself it will just fail?![]()
Hey! Me again
Trying to make a state that applies 100% critical chance when the user has 80 or above TP.
Tried these two codes on a state with +100% crit.
<JS Passive Condition>
if (user.tp >= 0.8) {
condition = true; }
</JS Passive Condition>
<Passive Condition: TP Above 79>
When I grant it as a <Passive State: x> to the actor or class it is applied at all times regardless of TP.
When I have a skill apply it 100%. (As a passive) it just doesn't work at all.
Any ideas?
<JS Passive Condition>
condition = user.tp >= user.maxTp() * 0.8
</JS Passive Condition>
<JS Critical Rate>
if (user.states().contains($dataStates[x])){
rate = 1;
}
</JS Critical Rate>
condition = user.weapons().length === 0I have implemented bard gameplay to be that he gets a different song(skill) based on the type of weapon he uses by using the Weapon Mastery code from https://forums.rpgmakerweb.com/inde...-effect-in-mz-with-visustella-plugins.143816/
I am wondering if its possible to tweak the code so that the state is on only whenever the user doesn't have any weapon equipped?
<JS Passive Condition>
const weapons = user.weapons();
const swords = 2;
condition = false;
for (let i = 0; i < weapons.length; ++i) {
const weapon = weapons;
if (weapon && weapon.wtypeId === swords) {
condition = true;
break;
}
}
</JS Passive Condition>
<Negative State>
<JS HP Slip Damage>
damage = Math.floor(user.mat*0.5)+10;
</JS HP Slip Damage>
<Negative State>
<JS HP Slip Damage>
damage = Math.floor(user.mat*1)+10;
</JS HP Slip Damage>
Not that I can think of. I don't believe calling a force action function from in there will work correctly (although I may be wrong).I think its possible in the damage formula, but that is already a bit crowded xD
I should think programming an action sequence for your attack skill with conditional checks for agility to do extra hits would be the easiest way to go about this.I essentially want the Attack skill (1) to attack an additional time for every xx agility the character has.
Welcome! The instructions are here (presumably also on the itch page for the plugin):I recently started using the VisuStella Plugin called ''Weapon Animation'' I've been trying to look for a proper guide on how to use it but I could not find any.
If you click the link in the Contents that says "Weapon Image-Related Notetags" it explains it right there. You have two options, <Weapon Image: x> and <Weapon Image: filename> depending on whether you want the image to be one of the default from MZ or a custom one you've created. Both options have examples of how you use it written in the instructions.The description of the plugin says that I have to use ''notetags'' such as
<Weapon Image: filename> but it does not specify how many or the actual order and how to make it work
I'm a bit confused because you don't actually ask a question, so I'm not sure what you needI have skills that Level up, and I'd like the Steal skill to have it's 'chance' increase each level but this is all it says:
<JS Steal Item Rate>
code
code
rate = code;
</JS Steal Item Rate>
The level is just a “nicety’. The skill is actually replaced by another skill when you ‘learn’ it’s upgrade and it gets replaced. LolWelcome! The instructions are here (presumably also on the itch page for the plugin):
Weapon Animation VisuStella MZ - Yanfly.moe Wiki
www.yanfly.moe
If you click the link in the Contents that says "Weapon Image-Related Notetags" it explains it right there. You have two options, <Weapon Image: x> and <Weapon Image: filename> depending on whether you want the image to be one of the default from MZ or a custom one you've created. Both options have examples of how you use it written in the instructions.
A weapon can only have one animation, so the "how many or the actual order" parts of your question aren't relevant.
I'm a bit confused because you don't actually ask a question, so I'm not sure what you need
I'm guessing you're asking what you would enter for your code, but we have no way to help you with that without knowing what system you're using to level up your skills (how is the skill's level tracked?) nor what you want to do with that level - what do you want your steal formula to be? That's what you put for the code.
Then...what code would be involved? The instructions say:The level is just a “nicety’. The skill is actually replaced by another skill when you ‘learn’ it’s upgrade and it gets replaced. Lol
I just need the code that would alter the flat steal success rate for the skill itself, not based on a level or anything.
<JS Steal Rate>
code
code
rate = code;
</JS Steal Rate>
- The 'rate' variable starts at a value equal to the current success rate.
- The 'rate' variable will be returned as the declared success rate.
rate=rate+.1;
rate=rate-.05;
Okay! The instructions are kind of… obtuse when compared to their Yanfly counterparts for a lot of things, so I though maybe there was MORE that had to go into it js-wise. Ha.Then...what code would be involved? The instructions say:
Code:<JS Steal Rate> code code rate = code; </JS Steal Rate> - The 'rate' variable starts at a value equal to the current success rate. - The 'rate' variable will be returned as the declared success rate.
So 'rate' is whatever you said it is in the plugin parameter. Your steal chance. What you're saying, if you don't want to factor in any kind of level variable, is just math.
If you want this skill to have a 10% higher chance to steal, then
Code:rate=rate+.1;
If you want the low level skill to have a 5% worse chance to steal, then
Code:rate=rate-.05;