Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module J
- #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- # This is a module used for setting the cap for the parameters.
- module Resize
- W = 640
- H = 360
- end#Resize
- #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- # This is a module used for setting the cap for the parameters.
- module ParamBoost
- HP = 250
- MP = 2500
- PMAX = 250
- XMAX = 100
- SMAX = 100
- end#ParamBoost
- #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- # This is a hash used for assigning words to icons, specifically parameters.
- module StatIcons
- ICONS ={
- # Standard Parameters
- "Life" => 3453,
- "Magi" => 3452,
- "Power" => 3448,
- "Endure" => 3451,
- "Force" => 3450,
- "Resist" => 3454,
- "Speed" => 3449,
- "Luck" => 3455,
- # xParameters
- "HIT" => 3090,
- "EVA" => 3099,
- "CRI" => 3097,
- "CEV" => 3101,
- "MEV" => 3102,
- "MRF" => 3110,
- "CNT" => 3096,
- "HRG" => 3109,
- "MRG" => 3098,
- "TRG" => 3108,
- # sParameters
- "TGR" => 3114,
- "GRD" => 3094,
- "REC" => 3100,
- "PHA" => 3092,
- "MCR" => 3089,
- "TCR" => 3088,
- "PDR" => 3091,
- "MDR" => 3113,
- "FDR" => 3105,
- "EXR" => 3111,
- }#
- end#StatIcons
- end#J
- module Vocab
- # Parameters
- def self.sparam(sparam_id) #0-9
- case sparam_id
- when 0; return "TGR";# TGR TarGet Rate
- when 1; return "GRD";# GRD GuaRD effect rate
- when 2; return "REC";# REC RECovery effect rate
- when 3; return "PHA";# PHA PHArmacology
- when 4; return "MCR";# MCR Mp Cost Rate
- when 5; return "TCR";# TCR Tp Charge Rate
- when 6; return "PDR";# PDR Physical Damage Rate
- when 7; return "MDR";# MDR Magical Damage Rate
- when 8; return "FDR";# FDR Floor Damage Rate
- when 9; return "EXR";# EXR EXperience Rate
- end
- end
- def self.xparam(xparam_id) #0-9
- case xparam_id
- when 0; return "HIT";# HIT HIT rate
- when 1; return "EVA";# EVA EVAsion rate
- when 2; return "CRI";# CRI CRItical rate
- when 3; return "CEV";# CEV Critical EVasion rate
- when 4; return "MEV";# MEV Magic EVasion rate
- when 5; return "MRF";# MRF Magic ReFlection rate
- when 6; return "CNT";# CNT CouNTer attack rate
- when 7; return "HRG";# HRG Hp ReGeneration rate
- when 8; return "MRG";# MRG Mp ReGeneration rate
- when 9; return "TRG";# TRG Tp ReGeneration rate
- end
- end
- def self.paramInfo(param_id)
- case param_id
- when 0; return "The maximum HP of the character"; # MaxHP
- when 1; return "The likelihood of being attacked by the enemy"; # TGR
- when 2; return "The base accuracy of the equipped weapon"; # HIT
- else
- return "Default help description. Fill them in yourself"
- end
- end
- end#Vocab
- #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- # Overwrites: def param_max (in Game_BattlerBase)
- # : Allows the module to add in the new caps for player stats.
- class Game_BattlerBase
- def param_max(param_id)
- return 999999 if param_id == 0 # MHP
- # return 9999 if param_id == 1 # MMP
- # return 999 #for regular parameters
- return J::ParamBoost::MP if param_id == 1 # MMP
- return J::ParamBoost::PMAX
- end#def
- end#Game_BattlerBase
- #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- # Overwrites: def param_max (in Game_Actor)
- # : Allows the module to add in the new caps for player stats.
- class Game_Actor
- def param_max(param_id)
- # return 9999 if param_id == 0 # MHP
- return J::ParamBoost::HP if param_id == 0 # MHP
- return super
- end#def
- end#Game_Actor
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Graphics.resize_screen(J::Resize::W, J::Resize::H)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement