Request: Swapping 2 Parameters (Via Equipment)

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
I thought of a very cool use of equipment. If someone can come up with a plugin that swaps two Parameters of an Actor while equipped with a certain armor/weapon?

For Example:

The armor item "Swap Armor" has the notetag <StatSwap: Atk Def>. The actor, who's ATK and DEF are 10 and 8, respectively, equips the "Swap Armor". While that armor is equipped, that actors ATK is treated as 8 and its DEF is treated as 10 (ATK and DEF are swapped).
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
I'd like to take this idea even further: if you had a state that swapped parameters. So for example you add a state that would temporarily switch a powerful tank monster's def with their atk, which effectively makes them vulnerable to actual attacks (but also makes them ridiculously powerful)


Now, what happens if you have one equip that swaps atk with def, and another equip that swaps def with atk?


Do they cancel out?
 
Last edited by a moderator:

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
I'd like to take this idea even further: if you had a state that swapped parameters. So for example you add a state that would temporarily switch a powerful tank monster's def with their atk, which effectively makes them vulnerable to actual attacks (but also makes them ridiculously powerful)

Now, what happens if you have one equip that swaps atk with def, and another equip that swaps def with atk?

Do they cancel out?
I like this better actually. It would be easy to apply it to armor with YEP Passive States. It also introduces interesting buff/debuff mechanics, which I shall call "rebuffs". 

In terms of cancelling, I think yes. If you think of it as an Order of Operations type thing, if you had two equips that both swapped ATK and DEF, the "first one" in the list would make ATK => DEF(atk) and DEF => ATK(def), then the 2nd one swaps again, making DEF(atk) => ATK and ATK(def)=> DEF again.

Even MORE interestingly, what if you had 2 equips, one switching ATK and DEF, another switching DEF and MDF? I think this would definitely need some type of order, probably in order of the listed equipment, such as in the Equipment window. So if you had a Helmet (3rd listed Equipment) that swapped ATK and DEF, and an Accessory (5th listed Equipment) that swapped DEF with MDF, first ATK would become DEF(atk) and DEF would become ATK(def). THEN the new DEF gets swapped with the MDF, making DEF becoming MDF(def) and MDF becoming ATK(def){mdf}. Ultimately, in this scenario, ATK would have the value of your original DEF, DEF would have your original MDF, and MDF would have your original ATK... 

Man, this turns out to be much more indepth than I originally thought...
 

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
Reminder Bump.
 

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top