Chaos Project

RPG Maker => Event Systems => Topic started by: Sacrifyx on November 10, 2011, 07:57:47 am

Title: [XP] Temporary stat boost
Post by: Sacrifyx on November 10, 2011, 07:57:47 am
Wondering if this will be possible without a script...

The idea is kind of like Fallout 3/NV's Well Rested deal, where you sleep in an owned bed and get an XP boost for an hour or something

Basically, when you sleep at an inn, you're given a choice of a normal room or, for some extra cash, a suite. If you stay in the suite, I'd like to boost some of the stats for a period of time afterwards.

I was thinking of just doing HP to keep it from getting too complicated, maybe boosting HP by a hundred or so, and that boost would last until you lost it in battle. I don't want to be able to heal up to the boosted amount, only to the normal max so it wouldn't be time-based at all, and I'd also prefer that the boost not be stackable, i.e., you can't sleep in the suite ten times and gain an extra 1000 hp, but if you lose part of the boost in battle you can sleep in a suite to recover the remainder of the boosted amount. Does that make sense? Is it even doable with events?
Title: Re: [XP] Temporary stat boost
Post by: Fantasist on November 10, 2011, 08:24:01 am
Make status effects in the database and inflict them through event commands at the inn event? I think that should work, but the status will be displayed in the menu and battle.
Title: Re: [XP] Temporary stat boost
Post by: Sacrifyx on November 10, 2011, 09:56:13 am
status being displayed is fine, I don't want the bonus to be kept secret from the player or anything...I'll give that a shot in a little bit and let you know how it goes!
Title: Re: [XP] Temporary stat boost
Post by: GAX on November 11, 2011, 08:38:43 pm
Should be doable.  If you use a system that displays your status as a text string, then just call the boost "Normal".

In my case, I use events to give status effects for cutscenes and such (such as Rune having the Invincible status during a few fights, Rivendal starting a battle with F.Berserk even though he normally can't use it until later in the game, etc.).