How do I increase TP by a certain % ?

Tsukitsune

Veteran
Veteran
Joined
Oct 24, 2012
Messages
834
Reaction score
643
First Language
English
Primarily Uses
How do I make TP increase by a certain % when I use a skill that happens to be the weakness of the enemy?

Example, if I use a holy spell against a dark type enemy, I want TP to increase by 25%.
 

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 can use the damage formula perhaps to check the resistance value of the target then add more tp...
 

Tsukitsune

Veteran
Veteran
Joined
Oct 24, 2012
Messages
834
Reaction score
643
First Language
English
Primarily Uses
and how exactly do I do that :p ?
 

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
I cannot access Ace at the moment so I cannot fetch the exact call for checking resistance right now...

but basically,

Code:
if condition;a.tp+=25;end;damage here
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
How do I make TP increase by a certain % when I use a skill that happens to be the weakness of the enemy?

Example, if I use a holy spell against a dark type enemy, I want TP to increase by 25%.
Because TPmax is always 100 (unless you add scripts into the engine), 1% TP is always 1 TP - the engine developer used that as a shortcut on several places, and you can do that as well.And adding 25 whenever a skill is used is as simple as placing a 25 into the field "TP Gain" on the skill definition (center area of the skill tab)...

If you want something else, please describe it better - if you already changed how TP behaves by scripts, list your scripts.
 

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
he wants TP to increase more than the normal rate if a certain element is the weakness of the target... or so from what I understood
 

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,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top