Skills Acting Sealed But Aren't

Shabbur

Veteran
Veteran
Joined
Feb 4, 2015
Messages
44
Reaction score
0
Primarily Uses
Hi I was wondering if anyone knows where the line(s) are for when an actor uses a skill, but can't because it inflicts a state that is already applied to a target selected in the party.

Ex: A skill buffs an ally. You can't use that skill on a certain ally because he already has it. This skill shows as "enabled" on the menu, but isn't really enabled since I'm getting the "cannot use" sound from trying to use it.

My goal is to remove that rule. Renewing Buffs is important in my game.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
It's a bit more difficult than that.


It doesn't know whether you can use the skill or not until you select a target. So you can't really say whether to enable it or not until AFTER you've chosen the skill and you're ready to choose the target - by then it's too late.


Is that really what "sealed" skills are?
 
Last edited by a moderator:

Another Fen

Veteran
Veteran
Joined
Jan 23, 2013
Messages
564
Reaction score
275
First Language
German
Primarily Uses
Hi,

I don't have access to the maker to look it up, but you can use the built in search function to look for

def item_test

within the Game_Battler script.

This method invokes another one named any_valid_effects? or anything like that, by following this call hierarchy you should find the exact position.
 

Shabbur

Veteran
Veteran
Joined
Feb 4, 2015
Messages
44
Reaction score
0
Primarily Uses
Hi,

I don't have access to the maker to look it up, but you can use the built in search function to look for

def item_test

within the Game_Battler script.

This method invokes another one named any_valid_effects? or anything like that, by following this call hierarchy you should find the exact position.
Thank you. I found where it does this. It was one linked function down from the any_valid_effects? function. There was a line checking if a state was applied and if it was it returned !true = false instead of always true.

 

It's a bit more difficult than that.

It doesn't know whether you can use the skill or not until you select a target. So you can't really say whether to enable it or not until AFTER you've chosen the skill and you're ready to choose the target - by then it's too late.

Is that really what "sealed" skills are?
 

I wasn't saying it was sealed.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Your title says "Skills Acting Sealed ..." ;)
 

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top