Quantcast
Channel: RGSS3 Scripts (RMVX Ace) Latest Topics
Viewing all articles
Browse latest Browse all 416

Stacking States

$
0
0

Stacking States v1.1a

Created by Neon Black

 

What is it?
This script states that can be stacked on top of each other for increased effectiveness.  In other words, having more than 1 instance of the same state on an actor or enemy.  Due to how it works, the "params" and "sp-params" of states in a multiplicative fashion rather than additive which increases the state's effectiveness with each stack.

 

How can I use it?
Insert this script under materials and above main.  The script has no config option, just tags.  Place the tags in a state and it will work on it's own.

  • max stack[2] - Allows two instances of the state to be present at once.  The "2" can be replaced with any number to increase the number of stacks.
  • stack icon[2, 100] - Changes the icon of stack 2 to icon 100.  You can use this tag more than once with different stack numbers to have a different icon for each level.  You can also use any icon rather than 100.

 

What does it work with?
This script should work with most other scripts, but overwrites the methods relating to adding or removing scripts.  For this reason it should go ABOVE any scripts that affect how states are added or removed.

 

How can I get the code?
Version 1.1a (base script, 8.27.2013) is available from my pastebin account here.

 

I would like to use this code.
80x15.png
This work is licensed under a Creative Commons Attribution 3.0 Unported License and is available for commercial and non-commercial use.

 

Author's Disclaimer:
I made this script actually as sort of a way to replace buffs.  I wanted a way to increase stats by a little but allow the player to keep on increasing the stat.  Obviously making the stat stack was the answer.  Like I mentioned, the states stacking is multiplicative, so having for example 10 states with 110% HP, the end result would be 259.3% or so, rather than 200%.  Still, I think it gives a nice effect of increasing returns for using a skill multiple times in a row.  As always, enjoy!


Viewing all articles
Browse latest Browse all 416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>