Skill/item have different effects if in battle possible?

buddysievers

Guilty of stealing Unity's Avatar
Veteran
Joined
Feb 28, 2014
Messages
31
Reaction score
6
First Language
German
Primarily Uses
N/A
Hi and hello,
im using alot of the Yanfly plugins and im not sure how i can accomplish what i want
and wanted to ask if someone can help with that.
I want to have some Items and Skills have different effects while used in menu or in batlle.
Think of FF9's Potion as example. It heals 100 HP when used in menu and 150 while used in battle.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
Can you just use this in the damage formula?
Code:
$gameParty.inBattle() ? 150 : 100
If you're going to be more specific more than just the damage/recovery number, then you gotta need to provide more information.
 

buddysievers

Guilty of stealing Unity's Avatar
Veteran
Joined
Feb 28, 2014
Messages
31
Reaction score
6
First Language
German
Primarily Uses
N/A
Can you just use this in the damage formula?
Code:
$gameParty.inBattle() ? 150 : 100
If you're going to be more specific more than just the damage/recovery number, then you gotta need to provide more information.
Oh thx alot Theo!
Maybe i thought too much in the wrong direction lol.
Thought i had to use custom formulas...
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,583
Latest member
write2dgray
Top