I've been wanting to add my custom Instant Casts through code. In 3:32 in the tutorial, I see that I can access the user's attack value, but not even the Help section of the plugin explains what else I can access. I'd like to know if I can access things besides the user, like the target's health, whether they're in a certain state, etc.
MV [Solved] Yanfly Instant Cast Lunatic Mode: What fields can I access?
Javascript/Plugin SupportNevermind, I figured it out. It's the stuff in the relevant Game_Battler instance. I can find out what fields it has by looking at the TS definitions by AsterAtwood, Sabakan03, and Kino.
Lunatic Mode is simply JavaScript - you can do literally anything that's in the game's code.
You can take a look at
forums.rpgmakerweb.com
And this library at
but they might not do you much good if you don't know how to code.
You can take a look at
RPG Maker MV / MZ Script Call List
This Script Call list applies to both RPG Maker MV and RPG Maker MZ. Link here to see the entire list. Supplementary Material for RPG Maker MZ: https://forums.rpgmakerweb.com/index.php?threads/rpg-maker-mz-script-call-reference.122501/ Have fun eventing~
forums.rpgmakerweb.com
And this library at
but they might not do you much good if you don't know how to code.
I know that Lunatic Mode is just JS; the problem is that I didn't know what my code in this case was able to access. Thanks for the resources you linked to, though :>
Original thread: https://forums.rpgmakerweb.com/threads/solved-yanfly-instant-cast-lunatic-mode-what-fields-can-i-access.151507/