Different Critical Quotes

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
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
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

Original thread: https://forums.rpgmakerweb.com/threads/different-critical-quotes.44047/