Restrict Stat Increasing Items

Status
Not open for further replies.

FoppyOmega

Creator of Forever Home
Member
Joined
Jan 19, 2014
Messages
20
Reaction score
9
First Language
English
Primarily Uses
RMVXA
Currently if an actor is at max attack (for example) you can still use an attack growing item on him. Is there any way to prevent this so users aren't wasting those precious stat increasers?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
What is max attack? Aren't stat increasers used to increase the max possible?
 
Last edited by a moderator:

Mouser

Veteran
Veteran
Joined
Aug 19, 2012
Messages
1,245
Reaction score
264
First Language
English
Primarily Uses
You can always just increase the max attack...
 

ShadowLurk

Tanoshii~
Veteran
Joined
Feb 14, 2014
Messages
226
Reaction score
53
Primarily Uses
Currently if an actor is at max attack (for example) you can still use an attack growing item on him. Is there any way to prevent this so users aren't wasting those precious stat increasers?
You mean the param? Which is capped at 999 (by default)?

Actually, it is not really wasted. You can have any param above 999. When you got debuffed, or has a state that reduce the param, it will reduce from the absolute value before capping it, so an actor using 2000 ATK-raising items' effective ATK will differ from an actor who doesn't use them when debuffed with 50% ATK decrease.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
You can always just increase the max attack...
Pretty sure the point is that you have a cap on your max atk (eg: for tactical reasons), but maybe some people will still try to feed the actor more atk ups.


One option is the dev saying "now you know!" while another is to reward the player's curiosity with a buzzer rather than a lost item (or having them reload from a save).
 
Last edited by a moderator:

kerbonklin

Hiatus King
Veteran
Joined
Jan 6, 2013
Messages
1,726
Reaction score
275
First Language
English
Primarily Uses
RMMV
Go with the latter of Tsuki's example. lol
 

FoppyOmega

Creator of Forever Home
Member
Joined
Jan 19, 2014
Messages
20
Reaction score
9
First Language
English
Primarily Uses
RMVXA
Pretty sure the point is that you have a cap on your max atk (eg: for tactical reasons), but maybe some people will still try to feed the actor more atk ups.

One option is the dev saying "now you know!" while another is to reward the player's curiosity with a buzzer rather than a lost item (or having them reload from a save).
Exactly. At end-game, players will want to max their stats by farming items that raise parameters. If you've got an actor with 999 attack the system doesn't stop you from using those items. A simple buzzer sound instead would be appropriate.

I just threw together this script which handles it:

# Prevents player from using a parameter raising "grow" item if the stat is# already at max valueclass Game_Battler < Game_BattlerBase alias foppy_item_test item_effect_test def item_effect_test(user, item, effect) case effect.code when EFFECT_GROW self.param_base(effect.data_id) + self.param_plus(effect.data_id) < self.param_max(effect.data_id) else foppy_item_test end endendSeems to work with Yanfly's adjust limits script as well.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

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'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,017,004
Members
137,562
Latest member
tamedeathman
Top