SHARE
TWEET

Untitled

marlosgama Jul 22nd, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     def reset_parameters
  2.         @param_base.each_index do |param_id|
  3.             value = $data_classes[@class_id].params[param_id, 1]
  4.             # Subtrai o parâmetro atual
  5.             $server.send_player_param(self, param_id, value - @param_base[param_id])
  6.             @param_base[param_id] = value
  7.         end
  8.         self.points = Configs::START_POINTS + @level * LEVEL_UP_POINTS - LEVEL_UP_POINTS
  9.         # Se diminuiu o HP ou MP máximo
  10.         refresh
  11.     end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top