Advertisement
TheoAllen

YEA - Critical Popup Fix

Apr 24th, 2014
586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.36 KB | None | 0 0
  1. class Game_Battler
  2.  
  3.   def make_damage_value(user, item)
  4.     game_battler_make_damage_value_abe(user, item)
  5.     rate = item_element_rate(user, item)
  6.     make_rate_popup(rate) unless $game_temp.evaluating
  7.     if @result.critical
  8.       text = YEA::BATTLE::POPUP_SETTINGS[:critical]
  9.       rules = "CRITICAL"
  10.       create_popup(text,rules)
  11.     end
  12.   end
  13.  
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement