Different Critical Quotes

TwilightKnight1

Veteran
Veteran
Joined
Apr 6, 2014
Messages
31
Reaction score
2
First Language
English
Primarily Uses
Hello peeps. I was wondering if anyone knew of a script that could allow you to change what a skill's critical quote/message was.
For example, if you wanted your heal to say: 'a crap ton of health was restored' when it criticaled, and you were able to set it up as:

<critical: 1>

and 1 through whatever number could be the new critical messages you set up~ :3
 

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
659
First Language
French
Primarily Uses
N/A
Hello. I don't know if there is already a script for that,

but i made this. I hote it helps.

Code:
#==============================================================================# Different critical quotes# By Lecode# Requested by TwilightKnight1#----------------------# Use <crit_quote: x> on skills and items notetags.# Example:# <crit_quote: ...........# .............>#==============================================================================class Window_BattleLog    def display_critical(target, item)    if target.result.critical      text = target.actor? ? Vocab::CriticalToActor : Vocab::CriticalToEnemy      text = item.crit_quote unless item.crit_quote.nil?      add_text(text)      wait    end  end  endclass RPG::UsableItem    def crit_quote    self.note =~ /<crit_quote:[ ]?(.+)>/im ? $1.to_s.gsub("\n"," ") : nil  end  end
 

TwilightKnight1

Veteran
Veteran
Joined
Apr 6, 2014
Messages
31
Reaction score
2
First Language
English
Primarily Uses
Hello. I don't know if there is already a script for that,

but i made this. I hote it helps.

#==============================================================================# Different critical quotes# By Lecode# Requested by TwilightKnight1#----------------------# Use <crit_quote: x> on skills and items notetags.# Example:# <crit_quote: ...........# .............>#==============================================================================class Window_BattleLog def display_critical(target, item) if target.result.critical text = target.actor? ? Vocab::CriticalToActor : Vocab::CriticalToEnemy text = item.crit_quote unless item.crit_quote.nil? add_text(text) wait end end endclass RPG::UsableItem def crit_quote self.note =~ /<crit_quote:[ ]?(.+)>/im ? $1.to_s.gsub("\n"," ") : nil end end
Thank you, it works perfectly! :3
 

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

Latest Threads

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,081
Members
137,582
Latest member
Spartacraft
Top