DoubleX RMMV Action Cost

coticka

Veteran
Veteran
Joined
May 30, 2015
Messages
68
Reaction score
8
First Language
English
Primarily Uses
RMMV
@DoubleX. Hey, it's me again. Sorry to bother you but after playing around with your action cost and action times plugins I gotta' say I really like them, a request though. Your action times plugin works fine and is compatible with everything, though your cost one isn't, namely with victor's ctb plugin. I know it might be too cumbersome for you to tinker with it to get it to be compatible but if you could that would be very cool as I'd like to utilize it as well. The issue is the costs of the actions correspond with the specified actions times of the actor. But after you've selected the actions, it goes to the next turn and nothing happens. Though for some reason torigoya's quickskill works with this and the actions do play out normally.
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,470
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
@DoubleX. Hey, it's me again. Sorry to bother you but after playing around with your action cost and action times plugins I gotta' say I really like them, a request though. Your action times plugin works fine and is compatible with everything, though your cost one isn't, namely with victor's ctb plugin. I know it might be too cumbersome for you to tinker with it to get it to be compatible but if you could that would be very cool as I'd like to utilize it as well. The issue is the costs of the actions correspond with the specified actions times of the actor. But after you've selected the actions, it goes to the next turn and nothing happens. Though for some reason torigoya's quickskill works with this and the actions do play out normally.
You may want to place this snippet after both this plugin and the victor ctb:
JavaScript:
DoubleX_RMMV.Act_Cost.BattleManager.setupAction = BattleManager.setupAction;
BattleManager.setupAction = function(battler) {
    battler.actCostInputs = -999;
    DoubleX_RMMV.Act_Cost.BattleManager.setupAction(battler);
};
 

coticka

Veteran
Veteran
Joined
May 30, 2015
Messages
68
Reaction score
8
First Language
English
Primarily Uses
RMMV
Wow, thanks for replying so quickly. I did place it below both but got this.
 

Attachments

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,470
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Wow, thanks for replying so quickly. I did place it below both but got this.
Sorry for my mistake. Try this instead:
Code:
DoubleX_RMMV.Act_Cost.BattleManager.setupAction = BattleManager.setupAction;
BattleManager.setupAction = function(battler) {
    battler.actCostInputs = -999;
    DoubleX_RMMV.Act_Cost.BattleManager.setupAction.call(this, battler);
};
 

coticka

Veteran
Veteran
Joined
May 30, 2015
Messages
68
Reaction score
8
First Language
English
Primarily Uses
RMMV
Oh wow. No errors now, but something odd is now taking place. Sorry for bothering you. You've been very patient lol. Let's say the actor has one +100 action times in their traits. They have 2 native turns always. Good. (Making sure attack and defend have a cost of 1 like the help section says.) Now let's say a skill has a cost of 2. What I thought was the case was the skill that costs 2 actions would consume those two actions and it would become the next actors turn. But what happens is the actor is still able to input another command. (As if they're always able to act their max action times set, in this case 2.) But is unable to select anything with a cost value at all. (Since the skill consumes their 2 native turns.) But the skill costing 2 actions actually does prompt the end of the turn and becomes the next actor's turn when the ctb plugin is turned off. So I understand if it's something that might be unable to be remedied. : /
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,470
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
I'm sorry that I failed to reproduce the issue. In my case I placed the Victor CTB above my Action Cost plugin. If that doesn't work for you, I'm afraid that you'll have to give me your project(via pm of course) so I can test that out :)
 

coticka

Veteran
Veteran
Joined
May 30, 2015
Messages
68
Reaction score
8
First Language
English
Primarily Uses
RMMV
Works now. Thanks! :LZYcheeze:
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Another room (actually other half of previous room)
What should I focus on today?

Character Portraits?
OR
Mapping?
Alright, I think I've got tired of VXAce. I guess I will jump to MV.
Just had a stranger SPRINT away from me in the grocery store. Talk about overreaction...
...I don't think I'm that ugly! ^-^
I wonder if I can go outside ye-

Government: lemme stop you right there

Forum statistics

Threads
95,512
Messages
929,731
Members
125,774
Latest member
Kirahilsdorf
Top