I want to create a buff which can change the skill speed of a specific skill.I have tried using $dataSkills[id].speed , but it doesn't seem to work.Could you tell me how to do that?Thanks for your helping!
How to change the skill speed of a specific skill?
RPG Maker MV SupportFor the sake of clarity
Could you share any code you've already tried to implement and expand on where you tried it?
This will help anyone trying to help you.
Echoing @Andar 's below point .speed for the skill wouldnt be a thing here. Youu'd be modifying the action itself's speed. And then checking for the skillId of that action. We'd need to know what your battle system is tho
Could you share any code you've already tried to implement and expand on where you tried it?
This will help anyone trying to help you.
Echoing @Andar 's below point .speed for the skill wouldnt be a thing here. Youu'd be modifying the action itself's speed. And then checking for the skillId of that action. We'd need to know what your battle system is tho
all $data???? objects are read-only, you can only change $game???? objects.
there are two possible solutions:
1) search for a dynamic database plugin
2) modify your battlesystem directly instead.
what battlesystem are you using? what is the function of speed inside that battlesystem?
there are two possible solutions:
1) search for a dynamic database plugin
2) modify your battlesystem directly instead.
what battlesystem are you using? what is the function of speed inside that battlesystem?
I've put these code in my state in order to change skill115's speed.However I just know from andar that all $data???? objects are read-only,so that's the reason that it doesn't work.My battlesystem is YEP_X_BattleSysCTB,and i want to use this state to change skill115's speed in order to change actor's action order when he use this skill.Thanks for your reply.
<Custom Apply Effect>
$dataSkills[115].speed=0;
</Custom Apply Effect>
I am a rookie and obviously this is the reason why it doesn't work.My battlesystem is YEP_X_BattleSysCTB,and i want to use this state to change skill115's speed in order to change actor's action order when he use this skill.As for dynamic database plugin,I'm worried about possible conflicts,whatever,i will try it.Thanks for your reply.
Rather than trying to change the speed of the skill, can't you use the notetags from the battle system? The help page for the plugin says you can use this notetag on a skill:
<After CTB Eval>
speed = x;
</After CTB Eval>
to set the speed for the user after using the skill. You could have your buff store a value in a variable, then have the specific skill you want the buff to affect use the above notetag and read from the variable to know what to set the speed to after using it. (Then set the variable back to the base value after the buff wears off).
<After CTB Eval>
speed = x;
</After CTB Eval>
to set the speed for the user after using the skill. You could have your buff store a value in a variable, then have the specific skill you want the buff to affect use the above notetag and read from the variable to know what to set the speed to after using it. (Then set the variable back to the base value after the buff wears off).
Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-the-skill-speed-of-a-specific-skill.176658/