Joined
Apr 17, 2013
Messages
135
Reaction score
7
First Language
English
Primarily Uses
N/A
Basic Lunatic States script: https://yanflychannel.wordpress.com/rmvxa/battle-scripts/lunatic-states/
Its protection addon that I'm trying to use: https://yanflychannel.wordpress.com/rmvxa/battle-scripts/lunatic-states/lsp-protection/

Does anyone have any clue what I'm doing wrong? None of the Lunatic States effects seem to work (not causing crashes, just doing nothing), and because of Yanfly prohibiting examples I can't see how others get it to work.

Basically in the pic below I am trying to make a state that blocks all damage above 90% of the receiver's max health (essentially preventing 1-hit KOs). It's based on the #2 function of the protection addon ("Damage Barrier). Anyone knows what I might have written wrong? Credits will be added to the in-game credits museum in my Broken Reality RPG (free-to-play): https://lord-rutsah.itch.io/broken-reality-rpg
 

Attachments

  • Capture.PNG
    Capture.PNG
    38.2 KB · Views: 4

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,935
Reaction score
14,767
First Language
English
Primarily Uses
RMVXA
This worked for me:

<react effect: damage shelter 80%>

Change 80% to your desired %.

Looking at your picture you used the wrong words, the version you did would make it that if they do over 90% damage you take 0 damage for the entire attack.

That being said, Yanfly also has a bug on the master lunatic states script that causes it to do a double parse, which has odd effects on some states. You may find it really does 81% damage instead of 90% (90% * 90%) due to the double parse. Test carefully to see.

Also you need to test in game, and not battle test. I think lunatic states does not work in battle test (FYI)
 
Joined
Apr 17, 2013
Messages
135
Reaction score
7
First Language
English
Primarily Uses
N/A
This worked for me:

<react effect: damage shelter 80%>

Change 80% to your desired %.

Looking at your picture you used the wrong words, the version you did would make it that if they do over 90% damage you take 0 damage for the entire attack.

That being said, Yanfly also has a bug on the master lunatic states script that causes it to do a double parse, which has odd effects on some states. You may find it really does 81% damage instead of 90% (90% * 90%) due to the double parse. Test carefully to see.

Also you need to test in game, and not battle test. I think lunatic states does not work in battle test (FYI)
I did intend it to completely nullify attacks. So otherwise my wording is correct?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,935
Reaction score
14,767
First Language
English
Primarily Uses
RMVXA
No idea then, as I never used that version, as it drops it all the way to 0 if it is that much of your HP. I used the other one that is where it caps it at x% instead.
 

Latest Threads

Latest Profile Posts

I'm weird as there are a few game franchises I'll watch and read about, but have no interest in playing.
Humans have such a capacity to assign personalities and love to objects. We do this because we love them. It's interesting then that our fears over AI are that they won't love us back and will instead hate us.
I'm actively looking for people who want to recreate classical compositions in the public domain for RPG Maker games. I've got a whole kick going on of looking for several resources from anyone which would be sharable amongst commercial games. This latest pursuit is something I'm surprised no one else has started doing.
I played Deltarune chapter 2 today! It was great. No spoilers, but I hope one day I can design a world as interesting as Toby Fox and team.

Forum statistics

Threads
115,153
Messages
1,087,699
Members
149,696
Latest member
Eurosoleil
Top