I use Yanfly's State Categories, after finding script, I guess this is the key.
But, error report says "Buff" is undefined, I don't know how to fix the error, please tell me!
Code:
this.removeCategory[String(Buff).toUpperCase().trim()] = 'ALL';
obj.removeCategory[String(Debuff).toUpperCase().trim()] = 'ALL';
But, error report says "Buff" is undefined, I don't know how to fix the error, please tell me!