dzgword

Villager
Member
Joined
Oct 26, 2016
Messages
9
Reaction score
1
First Language
English
Primarily Uses
Is there a way to show De-buff resistance in the status menu (preferably Yanfly's status core) or would it be easier to recreate buffs and debuffs as states and show the resistance that way?
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
3,659
Reaction score
2,751
First Language
EN
Primarily Uses
RMMZ
Showing them as states sounds good. If you want them to stack then you may have to find a way to implement that (YEP Buffs & States Core?). Alternatively you could make 8 "dummy" states (1 per basic parameter) and add a State Rate trait wherever there is a corresponding Debuff Rate trait. Then the states could be used to show "debuff rate" and the debuffs would still work like usual.

Otherwise, I happen to have an add-on for YEP Status Menu Core that lets you define custom values for its Attributes list. Plugin link:
For the Value formula, this may work (untested):
JavaScript:
this._actor.debuffRate(0)
Replace 0 with the parameter ID:

0 MHP | 1 MMP 2 ATK | 3 DEF 4 MAT | 5 MDF 6 AGI | 7 LUK
If you want resistance instead of rate, try 1 - this._actor.debuffRate(0) instead.

There may be other options~
 

dzgword

Villager
Member
Joined
Oct 26, 2016
Messages
9
Reaction score
1
First Language
English
Primarily Uses
Thanks for the reply I will test it out soon
 

dzgword

Villager
Member
Joined
Oct 26, 2016
Messages
9
Reaction score
1
First Language
English
Primarily Uses
Update: Code work perfectly and shows de-buff resistance in attributes

Was going to try to do it through states (Using stacking states) But that got messy code wise very quickly with what I wanted to do with de-buff's.

So Thank you again.
 

Latest Threads

Latest Profile Posts

Took some trial and error, but I managed to create "visuals" for underground dig path regions.
Couldn't sleep at all so I started working on the topmost deck. I've had to make several deviations from the Imperator/Berengaria's deck-plans to accommodate MV's movement, but 100% accuracy was never my intention.
Still no name for the poor ship...:kaodes:
Screenshot-2022-06-25-053308.png
ScreenShot_6_24_2022_9_20_7.png
Here's Mike when you get a preemptive strike in battle. There's another one for when an enemy sneaks up on you too.
Suddenly, games mean nothing. The money spent was worth it to bring souls towards the light of life. May God bless my path forever. I pray that all are shaken for truth and poured out flat on the table of true understanding, knowledge, and wisdom. Bless you.

Forum statistics

Threads
123,026
Messages
1,153,505
Members
161,370
Latest member
BuiTra
Top