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,660
Reaction score
2,753
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

"What!? 2000!? There's no way that can be right!""It's over 2900!"
New musics has been made. Praise be!
Furious and deeply saddened about the state of the US. This is the starting domino.
Thunderstorm approaching: *rumble rumble*

Me: "Hmph... so.. you've come..."

And ONLY me: (adapts fighting stance) "...now show me your TRUE POWER!!!"

*Thunderstorm fizzles out. Sunshine and rainbows.*

Seriously, ONLY ME: "No! Come back! I.. I didn't mean..."
The black rose maiden! :kaopride:
vmTLAk8.jpg

Character: Aki Izayoi from Yugioh 5Ds.

Forum statistics

Threads
123,044
Messages
1,153,640
Members
161,391
Latest member
asdrubalini
Top