Another question, I want to make a specific class in my RPG to deal low physical damage but have high crit damage, but so far I got the class to crit frequently(another thing the class does) but a character with that class hits for about 150 damage and crits for about 350 when I want the crits to do about 500 - 600. How can I increase the damage of the crits while avoiding increasing normal damage?
Make certain class critical hits stronger?
● ARCHIVED · READ-ONLY
-
-
Try something like this.
Code:module Crit_Dude Crit_Times = 10 # Critical hits will deal 10x more damage Crit_Class = 9 # Which class id should it affect?endclass Game_Battler < Game_BattlerBase #-------------------------------------------------------------------------- # * Apply Critical #-------------------------------------------------------------------------- def apply_critical(damage, times=3) damage * times end def make_damage_value(user, item) value = item.damage.eval(user, self, $game_variables) value *= item_element_rate(user, item) value *= pdr if item.physical? value *= mdr if item.magical? value *= rec if item.damage.recover? if user.is_a?(Game_Actor) && user.class_id == Crit_Dude::Crit_Class value = apply_critical(value, Crit_Dude::Crit_Times) if @result.critical else value = apply_critical(value) if @result.critical end value = apply_variance(value, item.damage.variance) value = apply_guard(value) @result.make_damage(value.to_i, item) endend -
It seems your script causes a crash. :S
-
What kind of crash? What error message?
It works for me. -

This is the error I am getting when I add the script in. Note that I am a newbie at adding scripts though. All I changed in it was 9 to 3 as my class ID for the class I want to have high hitting crits with is ID 3
And yes I called it Crit_Dude out of laziness and thought that was the name the script was supposed to be.
EDIT: I noticed the name thing, but I dont want it on one specific character, I could replace that part of the line with the name but... Then it would only affect one person would it not?
Ugh I am so used to scripting mods in Oblivion... Thats the only game I ever somewhat adapted to scripting in.
EDIT2: Okay forget it, I will try to figure the crash out myself, Even if it means alot of script reading and looking things up. I need to climb out of the crater of newbland someday.
EDIT3: Okay it was a very dumb newb mistake, I put it in the wrong part of the scripts. Although I am trying to get around another crash that is happening when I attack now.
EDIT4: Its not crashing anymore but all my party members have the increased crit damage regardless of class, not just the one class.
EDIT5: Okay that was easy as pie, its 100% working now, my Alerek(My Knave, the class that crits alot and is supposed to do the higher crit damage) is now doing the high damage crits hes supposed to do. My Hero character no longer does 5x damage crits when only the Knave Alerek is supposed to. This can be locked now.