Can I make a state disallow a certain item?

● ARCHIVED · READ-ONLY
Started by BillMakesStuff 10 posts View original ↗
  1. Another noob question.
  2. 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/
  3. yanfly item requirments could also be used for this
  4. Except For Yanfly, it doesn't actually work. I should know, I have tried.
  5. 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
  6. 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.
  7. 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?
  8. @OmnislashXX
    Use the same code I posted earlier and replace "battler" with "user"
  9. 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.