Falcao Pearl ABS Liquid Exp Patch

IneptAttoney_08

MMORPG!
Veteran
Joined
Mar 1, 2019
Messages
103
Reaction score
15
First Language
Indonesia
Primarily Uses
RMVXA
Falcao Pearl ABS Liquid Exp Patch
▼ Description
This script fixes the issue of exp on Falcao Pearl ABS Liquid v.3 where some scripts are not compatible with falcao pearl abs because the method of calculating Exp and gold in falcao pearl abs is different from the original battle system. This script is also compatible with Theo Allen's Difficulty Settings script. now difficulty can affect Exp and Gold that are dropped by enemies. And now players can use Sp-Parameters EXR to calculate the Exp rate of the actor / class / weapon / armor / state.
▼ Script
Code:
#===============================================================================
# * Falcao Pearl ABS Liquid v.3 Exp Patch
#===============================================================================
# Author: IneptAttorney
# Date: 11 January 2020
# Required: Falcao Pearl ABS Liquid v.3
#           Theolized Difficulty Settings (Optional)
#...............................................................................
# * Description
#   This script fixes the issue of exp on Falcao Pearl ABS Liquid v.3 where some
#   scripts are not compatible with falcao pearl abs because the method of
#   calculating Exp and gold in falcao pearl abs is different from the original
#   battle system.
#   This script is also compatible with Theo Allen's Difficulty Settings script.
#   now difficulty can affect Exp and Gold that are dropped by enemies.
#   And now  players can use Sp-Parameters EXR to calculate the Exp rate of the
#   actor / class / weapon / armor / state.
#...............................................................................
# * Installation
#   Copy-paste this script to your project Script Editor. Place below Script
#   Falcao Pearl ABS Liquid v.3
#   if you use the Theo Allen's Difficulty Settings, place this script below it.
#   and above ▼ Main Process.
#...............................................................................
# * Instruction
#   This script is plug n play. but you can set the configuration below.
#   To set the Exp rate you can use default features for EXR Sp-Parameters.
#...............................................................................
$imported = {} if $imported.nil?
$imported["InptAttrny-ExpPatch"] = true
#...............................................................................
# * Configuration
#...............................................................................
module INPTATTRNY
  module PEARLEXP
    CURRENCY_UNIT = 'Gold' # The text that will be displayed when the player or
                           # followers gained gold.
                          
    EXP_DECIMAL = false    # false to draw Exp gained in decimal numbers.
                           # true to draw Exp gained in integers.
  end
end
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#        Don't edit the text below! or your PC will burn up! 0=0)
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#===============================================================================
if $imported["Theo-DiffSetting"] = true
class Game_Enemy < Game_Battler 
#===============================================================================
  #--------------------------------------------------------------------------
  # * Calculate Total Experience
  #--------------------------------------------------------------------------
  alias theolized_exp_total exp
  def exp
    check_var ? theolized_exp_total*@diff_hash[var_value][8]/100 : theolized_exp_total
  end
  #--------------------------------------------------------------------------
  # * Calculate Total Gold
  #--------------------------------------------------------------------------
  alias theolized_gold_total gold
  def gold
    check_var ? theolized_gold_total*@diff_hash[var_value][9]/100 : theolized_gold_total
  end
  end
end
#===============================================================================
class Game_Event < Game_Character
#===============================================================================
  #--------------------------------------------------------------------------
  # * Kill_enemy
  #--------------------------------------------------------------------------
  def kill_enemy
    @secollapse = nil
    @killed = true
    @priority_type = 0 if @deadposee
    gain_exp
    gain_gold
    $game_player.followers.each do |follower|
      next if follower.actor.nil?
      etext = 'Exp '  + follower.actor.gained_exp.to_s if @enemy.exp > 0
      follower.pop_damage("#{etext}") if etext
    end
    g_exp = $game_player.actor.gained_exp
    etext = 'Exp '  + g_exp.to_s if g_exp > 0
    gtext = INPTATTRNY::PEARLEXP::CURRENCY_UNIT + @enemy.gold.to_s if @enemy.gold > 0
    $game_player.pop_damage("#{etext} #{gtext}") if etext || gtext
    make_drop_items
    run_assigned_commands
  end
 
  #-------------------------------------------------------------------------
  # * gain_exp
  #-------------------------------------------------------------------------
  def gain_exp
    $game_party.all_members.each do |actor|
      actor.gained_exp = actor.exp_from_enemy(@enemy)
      actor.gain_exp(actor.gained_exp)
    end
  end
end
#===============================================================================
class Game_Actor < Game_Battler
#===============================================================================
  #-------------------------------------------------------------------------
  # * gained_exp
  #-------------------------------------------------------------------------
  def gained_exp=(exp)
    if INPTATTRNY::PEARLEXP::EXP_DECIMAL == false
      @gained_exp = (exp * exr).truncate
    else
      @gained_exp = (exp * exr)
    end
  end
end

▼ Credits

  • Enterbrain
  • Ineptattorney
  • Falcao
  • Theo Allen
 

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

Latest Threads

Latest Posts

Latest Profile Posts

convention concluded, i'm glad the books well received and sold out
not every content is decent, but i'll be better for the next work.

now back to game developing
I hope to be able to post my vxace resource edits this Wednesday.
Not sure if I'll get to the library though.
Me: Man, I'm definitely burned out this time. Time for a break. Me three hours later: I'm ready to work again, let's go! Me another hour later: Okay, I can't do this anymore. Repeat for infinity.
Just got MV and am working on porting over my new game from VX Ace to it! I haven't done much with my new game so it should be pretty quick.
I was doing forge runs on D2 with my wife last night, and singing like a leprechaun to annoy her XD. I was calling it 'The Farge'

Forum statistics

Threads
94,449
Messages
921,045
Members
124,281
Latest member
Alias72
Top