Setting up condition for two positive effects of different scales

Junane

Veteran
Veteran
Joined
Feb 10, 2018
Messages
100
Reaction score
15
First Language
English
Primarily Uses
RMMV
Title may not be the best way to describe it, but here goes...

I decided to give Noah a self-made skill which I dubbed "Pillars of Light". What this skill is meant to do is heal the user (pretty easy, use HP recover damage type) BUT I also want it to buff the entire active party with a large ATK boost. How do I do this?
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,346
Reaction score
7,974
First Language
Indonesian
Primarily Uses
RMVXA
Use formula box for the script call, assume you gonna use state to buff all party members
Code:
$game_party.members.each {|m| m.add_state(id)}; <write the formula here>
 
  • Like
Reactions: Bex

Junane

Veteran
Veteran
Joined
Feb 10, 2018
Messages
100
Reaction score
15
First Language
English
Primarily Uses
RMMV
Use formula box for the script call, assume you gonna use state to buff all party members
Code:
$game_party.members.each {|m| m.add_state(id)}; <write the formula here>

There's no state (and no option to add the buff to a state) that remotely does that. Such an option appears in the skill window itself.

EDIT: Found the option. Next step is ensuring the buff does not refresh while active. Formula is currently:
$game_party.members.each {|m| m.add_state(26)}; (15 * a.mat) + (10 * a.atk)
 

Latest Threads

Latest Profile Posts

I'm so annoyed with myself...I can't get this code to work so it looks like I'm going the plugin route for a problem I should be able to do myself :kaolivid:Great. Now I get to murder save file compatibility. Again.
Can't believe my code from four years ago is still working! Did some expansions, and...
1635194553179.png
In related news, I may have an update for my old Extra status window plugin ready. That is, once I manage to sit down and update the documentation... and the demo project... :kaoswt:
How does one pronounce Godot? I've heard it pronounced a couple of different ways, and I genuinely don't know the proper way.
March 2020 ...
1635188823939.jpeg
... vs October 2021

Forum statistics

Threads
116,077
Messages
1,095,557
Members
151,447
Latest member
PamuRachii
Top