RES STAT HELP!
Posts
Pages:
1
Ok im using RMVX and the script: Yanfly Engine Melody - New Battle Stats.
In this part:
# This hash allows you to edit each actor's base RES formula and the rate
# of growth for RES as levels progress. Note that actor 0 will be used if
# the actor's ID does not appear on this list.
ACTOR_BASE ={
# ID => Formula
0 => "actor.parameters/2+actor.parameters/2",
1 => "@level * 4 + 16",
2 => "@level * 3 + 12",
3 => "@level * 5 + 20",
4 => "@level * 6 + 24",
} # Do not remove this.
I want to make it so the actor has 10res on lv1 and 200 on lv99, so basicly make the script use the defualt way rmvx configures stats when using "generate curve". Or something similar.
Is there an formula i can put in the thingie that will make this happen?
Or is there a different RES stat script that will do this. (i cant find one... ): )
Thanks in advanced!
In this part:
# This hash allows you to edit each actor's base RES formula and the rate
# of growth for RES as levels progress. Note that actor 0 will be used if
# the actor's ID does not appear on this list.
ACTOR_BASE ={
# ID => Formula
0 => "actor.parameters/2+actor.parameters/2",
1 => "@level * 4 + 16",
2 => "@level * 3 + 12",
3 => "@level * 5 + 20",
4 => "@level * 6 + 24",
} # Do not remove this.
I want to make it so the actor has 10res on lv1 and 200 on lv99, so basicly make the script use the defualt way rmvx configures stats when using "generate curve". Or something similar.
Is there an formula i can put in the thingie that will make this happen?
Or is there a different RES stat script that will do this. (i cant find one... ): )
Thanks in advanced!
Ok, so technically you want the character to gain ~1.938775510204082 res per level. Since some round will be involved you could use the following:
If you wanted it to look cleaner, you could always:
EDIT: In chrome the code tag allows code to continue outside of the post without word wrapping
((190.to_f * (level - 1) / 98).to_int + ((((190.to_f * (level - 1) / 98) - (190.to_f * (level - 1) / 98).to_int) >= 0.5) ? 1 : 0)) + 10
If you wanted it to look cleaner, you could always:
#change variableName to whatever and level to @level for your case
variableName = 190.to_f * (level - 1) / 98 #put this before the array
x =>"(variableName.to_int + (((variableName - variableName.to_int) >= 0.5) ? 1 : 0)) + 10",
EDIT: In chrome the code tag allows code to continue outside of the post without word wrapping
Ok, it works pretty good but at lv 26 its drags slightly behind the other stats (hero has same for all stats).
How can i use an event/ script command to increas/decrease a hero's res?
How can i use an event/ script command to increas/decrease a hero's res?
I am not familiar with the script you are talking about, but I'm sure there is a way. I'll copy into one of my projects and see if I can find something. Out of curiosity, how far off is the RES? According to the formula, it should be 58.47 for that level. Are the other stats 59? That would make it 3 * level /2424 off...Are the "curves" you generated straight?
EDIT: I just realized that you are using RMVX. I haven't purchased it yet, and my trial has expired. Can you PM me your edited version of the script in its entirety?
EDIT: I just realized that you are using RMVX. I haven't purchased it yet, and my trial has expired. Can you PM me your edited version of the script in its entirety?
Pages:
1















