Can I make a state disallow a certain item?

AcosmicDevi

(ノ◕ヮ◕)ノ*:・゚✧
Veteran
Joined
Sep 26, 2012
Messages
516
Reaction score
147
First Language
English
Primarily Uses
RMMV
As far as I can tell, the only innate option MV has is it lets you disable the use of spells and skills when a particular state is applied. On the state page, double click on a line on under Traits to bring up the mini menu. Under the skill tab, select seal skill and then the skill you want to disable from the drop down box.

If you want to disable items and weapons, I believe you would need to use a plugin. Himeworks' Actor Battle Commands looks like it may be appropriate for this task, but you'll have to play around with it to be sure. You can find it here: http://himeworks.com/2015/12/actor-battle-commands/
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
521
Reaction score
202
First Language
english
Primarily Uses
RMMV
yanfly item requirments could also be used for this
 

OmnislashXX

Veteran
Veteran
Joined
Mar 30, 2012
Messages
599
Reaction score
3,686
First Language
English
Primarily Uses
RMMV
Except For Yanfly, it doesn't actually work. I should know, I have tried.
 

Zarsla

Veteran
Veteran
Joined
Jan 23, 2015
Messages
710
Reaction score
227
First Language
English
Primarily Uses
If you're using Yanfly Item Requirements make sure you have Item Core and use this notetag in the notetag box of any items that's going to be affected:
<Custom Enable Requirement>
condition = !battler.isStateAffected(x);
</Custom Enable Requirement>
Where x is the state that's going to disable the item
 

OmnislashXX

Veteran
Veteran
Joined
Mar 30, 2012
Messages
599
Reaction score
3,686
First Language
English
Primarily Uses
RMMV
This...actually doesn't solve my problem at all. I still can't use the item on a different person once it's been used.
 

Zarsla

Veteran
Veteran
Joined
Jan 23, 2015
Messages
710
Reaction score
227
First Language
English
Primarily Uses
Uh...@OmnislashXX,I was answering the OP question.
Spefically, that as long as the user of an item is inflected with a state, they can not used said item.
What are you trying to do?
 

OmnislashXX

Veteran
Veteran
Joined
Mar 30, 2012
Messages
599
Reaction score
3,686
First Language
English
Primarily Uses
RMMV
Last edited:

Zarsla

Veteran
Veteran
Joined
Jan 23, 2015
Messages
710
Reaction score
227
First Language
English
Primarily Uses
@OmnislashXX
Use the same code I posted earlier and replace "battler" with "user"
 

OmnislashXX

Veteran
Veteran
Joined
Mar 30, 2012
Messages
599
Reaction score
3,686
First Language
English
Primarily Uses
RMMV
Hmm. I'll try when I get the chance.

Edit: Sorry to say, Zarsla, but the effect is still the same. My guys are all affected even though they don't have the state present on them.
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

Less than a week and I can move into my new apartment and out of this bad situation. I'm so excited! Then game making power will increase. :kaoluv:
Enter the password in letters. (English subtitles)
I really tried to pull off something for halloween, but I don't feel like going on. I feel like the plot I was building was too generic, and I couldn't connect to it as I do with other projects. On the bright side, I've been working on my cosmic-puzzle project, so far I think the core mechanics are working properly, so I'll be creating some large test maps to see how it works out.
People2_5 & SF_Monster1 added!

Ami
--- X Costume ---

M.Healer: I'm wearing M.Mage's Costume.
M.Mage: I'm wearing M.Healer's Costume.
M.Knight: Why not using the Scary Costume like me,The Scary Frankenstein?
M.Healer: Err…Because we have low of Budget.
M.Mage: Yeah,right.

Forum statistics

Threads
104,602
Messages
1,007,483
Members
136,084
Latest member
TikeTenGamesOffical
Top