Needing help with a state/Skill combo system thing

Ripslash1

Villager
Member
Joined
Nov 25, 2016
Messages
10
Reaction score
0
First Language
English
Primarily Uses
I am wanting to make up a set of states and skills that would be very effective if used together, but I'm not sure how to make the note tags. Like, it has the stackable "toxin" state (I have seen your stacking poison tutorial, and it's somewhat what I'm looking for, but not quite.) and this toxin state does nothing on its own. It just stacks. Now, I want two abilities -- one called "purge" and one called "toxicify". What I want purge to do is to count the number of stacks, and then remove all of them, but doing a large percent of damage based on the number of stacks. And what I want toxicify to do is to count the number of stacks like the first one, but this time, instead of doing one flat amount of damage, I'd like it to turn the stacks into a poison state. (I will most likely set up multiples of this state based on how many counters) and the poison will do more damage based on the number of stacks. Is there a way to do this?
 

kuroshinne

Veteran
Veteran
Joined
Nov 5, 2016
Messages
31
Reaction score
0
First Language
english
Primarily Uses
I am also looking for something exactly like this. anyone have any good ideas?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
I think you're missing several points in your description.


1) notetags have no function


They can only be read by plugins, and those plugins need to provide any functions the notetags might trigger.


So you'll need a plugin before you cen even guess about notetags.


2) states never stack by default, so you can't count any stack


again, you'll need a plugin to provide the functionality of stacking to states.


I've moved this thread to Plugin Requests. Please be sure to post your threads in the correct forum next time. Thank you.
 

Ripslash1

Villager
Member
Joined
Nov 25, 2016
Messages
10
Reaction score
0
First Language
English
Primarily Uses
Heheh, sorry about that. I didn't know where to put it. And I forgot to mention that I'm using Yanfly's plugins, and I'm not the best with JavaScript, so idk how to do it.
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,791
Reaction score
943
First Language
Chinese
Primarily Uses
N/A
If the toxin state just stacks on its own every x turns, You may want to try Tsukihime's progressive states plugin.

Technically, if the stack has a small limit - 9 for example, then you can just make 9 identical states, like these:


1. toxin 1


2. toxin 2


3. toxin 3


4. toxin 4


5. toxin 5


6. toxin 6


7. toxin 7


8. toxin 8


9. toxin 9


For the purge ability, you can modify the damage formula to this:



var mul = (b.isStateAdded(toxinStateId1) ? mul1 : b.isStateAdded(toxinStateId2) ? mul2 : b.isStateAdded(toxinStateId3) ? mul3 : ... : b.isStateAdded(toxinStateId2) ? mul9 : 1); originalDamageFormula * mul


Where toxinStateId1 is the id of state toxin 1, toxinStateId2 is the id of state toxin 2, toxinStateId3 is the id of state toxin 3, ..., toxinStateId9 is the id of state toxin 9.


For the toxicify ability, you can add another 9 states:


1. poison 1


2. poison 2


3. poison 3


4. poison 4


5. poison 5


6. poison 6


7. poison 7


8. poison 8


9. poison 9


And use this damage formula:

Code:
var poisonStateId = (b.isStateAdded(toxinStateId1) ? poisonStateId1 : b.isStateAdded(toxinStateId2) ? poisonStateId2 : b.isStateAdded(toxinStateId3) ? poisonStateId3 : ... : b.isStateAdded(toxinStateId2) ? poisonStateId9 : 0); if (poisonStateId > 0) b.addState(poisonStateId); 0
 

Ripslash1

Villager
Member
Joined
Nov 25, 2016
Messages
10
Reaction score
0
First Language
English
Primarily Uses
Thank you so much, DoubleX! This helps me so much. I've been like, messing around, but Idk javascript commands or anything like that, so nothing was working. Thank you!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,580
Members
137,843
Latest member
Betwixt000
Top