Check if State applied when typing formualas

● ARCHIVED · READ-ONLY
Started by kranasAngel 3 posts View original ↗
  1. I am using Yanfly's skill core: http://yanfly.moe/2015/10/13/yep-8-skill-core/ and I wanted to make a skill that costs 18 MP normally, but only costs 3 MP is the state "Blue aura" is applied.

    I tried:

    if a.state?(15)

    cost = 3

     but that didn't work. What would I type instead to find if the user has state 15 applied.
  2. a.isStateAffected(15)
  3. Thank you so much!

    You saved me about so many hours of trial and error.