Custom Skill/Item Repeat v1.00

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
==============================================================================


Overview


==============================================================================


This script provides the ability to run RGSS3 methods/formulas to determine


how many times the skill/item repeats. The script takes first the repeats


set in the skill tab, then adds any custom repeat you have set.


This can also be used to simply have more than 9 repeats.


==============================================================================


Download


==============================================================================


Get it here: http://pastebin.com/raw.php?i=ntX7fUzX
 

Sarlecc

Veteran
Veteran
Joined
Sep 16, 2012
Messages
453
Reaction score
211
First Language
English
Primarily Uses
RMMV
Wow I can really see how I could use this in the game I am working on.

Question:

1. Could I use this to lower the amount of repeats based on certain conditions or does it just increase the repeats?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
You could return negatives to reduce the repeats... though I'd just use it to do both, like if the condition is true, repeat many times, if it's false, repeat lower
 

Sarlecc

Veteran
Veteran
Joined
Sep 16, 2012
Messages
453
Reaction score
211
First Language
English
Primarily Uses
RMMV
Okay reason I was wondering was because I might use this to have several conditions that affect repeats of skills.

Example: A monster can use skill A that repeats twice but has a condition that if the monsters hp is below 100 increase repeat by 1. But if the players luck is higher than 100 decrease the repeat by 1.

Anyway going to see what cool boss battles I can make with this script. :D

Thanks for answering my question.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
You could just let the script handle it... like set the repeat to 1 in the database then

Code:
<start_custom_repeat_s>  x = 1  x+=1 if user.hp < 100  x-= 1 if target.luk > 100  x    <end_custom_repeat_s>
or try setting 2 repeats on the database then
Code:
<start_custom_repeat_s>  if user.hp < 100    1  elsif target.luk > 100    -1  else    0  end<end_custom_repeat_s>
 
Last edited by a moderator:

Sarlecc

Veteran
Veteran
Joined
Sep 16, 2012
Messages
453
Reaction score
211
First Language
English
Primarily Uses
RMMV
Yep precisely why this script was looking so awesome to me!

It literately has so many different functions that I can use it for in my game. :)
 

redeven

Warper
Member
Joined
Oct 16, 2012
Messages
1
Reaction score
0
First Language
Spanish
Primarily Uses
Hey! I've recently started using this script and I've bumped into an issue: every skill's animation is doubled (even if it's not even related with the script). I've checked every other script I use and this one seems to be the cause.


Would it be possible if you could give some insight on this matter? 


Thank you in advance! This script is amazing and there's none like it out there.


EDIT: Solved.
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Try it... But I dont do compatibility fixes, normally.
 

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,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top