CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 23:00:39 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=2a7e17cc76d7bacf7b28a540049f1791c7bfefa60d4ca217a6d2e6a6bfb30e92a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22HRiyhbHmVSK6pezawjJmgazgOYFc6eX1%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d1f98e0bd55ace-BLR
Battle Overheal - State Required - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ╔═══════════════════════════════════════════════╦════════════════════╗
- # ║ Title: Battle Overheal ║ Version: 1.01 ║
- # ║ Author: Roninator2 ║ ║
- # ╠═══════════════════════════════════════════════╬════════════════════╣
- # ║ Function: ║ Date Created ║
- # ║ ╠════════════════════╣
- # ║ HP goes above max in battle ║ 18 Sep 2023 ║
- # ╚═══════════════════════════════════════════════╩════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Requires: nil ║
- # ║ ║
- # ╚════════════════════════════════════════════════════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Brief Description: ║
- # ║ Make Hp go above MHP in battle ║
- # ╚════════════════════════════════════════════════════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Instructions: ║
- # ║ ║
- # ║ Plug and play ║
- # ║ Effects are temporary ║
- # ║ ║
- # ║ Updated to only work with a state inflicted ║
- # ║ Change the state id below ║
- # ║ ║
- # ║ The state will be removed at the end of battle ║
- # ║ ║
- # ╚════════════════════════════════════════════════════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Updates: ║
- # ║ 1.00 - 18 Sep 2023 - Script finished ║
- # ║ 1.01 - 18 Sep 2023 - Added State needed to function ║
- # ║ ║
- # ╚════════════════════════════════════════════════════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Credits and Thanks: ║
- # ║ Roninator2 ║
- # ║ ║
- # ╚════════════════════════════════════════════════════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Terms of use: ║
- # ║ Follow the original Authors terms of use where applicable ║
- # ║ - When not made by me (Roninator2) ║
- # ║ Free for all uses in RPG Maker except nudity ║
- # ║ Anyone using this script in their project before these terms ║
- # ║ were changed are allowed to use this script even if it conflicts ║
- # ║ with these new terms. New terms effective 03 Apr 2024 ║
- # ║ No part of this code can be used with AI programs or tools ║
- # ║ Credit must be given ║
- # ╚════════════════════════════════════════════════════════════════════╝
- module R2_Overheal
- State = 26 # change this number to the state you set up
- end
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ End of editable region ║
- # ╚════════════════════════════════════════════════════════════════════╝
- module BattleManager
- class << self
- alias :pro_vic :process_victory
- alias :pro_esp :process_escape
- alias :pro_abt :process_abort
- end
- #--------------------------------------------------------------------------
- # * Victory Processing
- #--------------------------------------------------------------------------
- def self.process_victory
- reset_hp
- pro_vic
- end
- #--------------------------------------------------------------------------
- # * Escape Processing
- #--------------------------------------------------------------------------
- def self.process_escape
- reset_hp
- pro_esp
- end
- #--------------------------------------------------------------------------
- # * Abort Processing
- #--------------------------------------------------------------------------
- def self.process_abort
- reset_hp
- pro_abt
- end
- #--------------------------------------------------------------------------
- # * Reset HP
- #--------------------------------------------------------------------------
- def self.reset_hp
- $game_party.members.each do |act|
- act.remove_state(R2_Overheal::State)
- act.hp = act.mhp if act.hp > act.mhp
- end
- end
- end
- class Game_BattlerBase
- #--------------------------------------------------------------------------
- # * Refresh
- #--------------------------------------------------------------------------
- def refresh
- state_resist_set.each {|state_id| erase_state(state_id) }
- if SceneManager.scene_is?(Scene_Battle)
- if self.is_a?(Game_Actor)
- if self.hp > self.mhp && self.state?(R2_Overheal::State)
- @hp = [@hp, mhp].max
- else
- @hp = [[@hp, mhp].min, 0].max
- end
- else
- @hp = [[@hp, mhp].min, 0].max
- end
- else
- @hp = [[@hp, mhp].min, 0].max
- end
- @mp = [[@mp, mmp].min, 0].max
- @hp == 0 ? add_state(death_state_id) : remove_state(death_state_id)
- end
- end
Tags:
rpg maker vx ace
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐Make $1500 in 20 minutes⭐⭐
Java | 1 sec ago | 0.10 KB
-
📝 Crypto Swap Glitch ✅ Working
JavaScript | 3 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ⭐⭐ 7
JavaScript | 12 sec ago | 0.25 KB
-
📝 EASY MONEY GUIDE ✅ Working
JavaScript | 12 sec ago | 0.24 KB
-
⭐⭐⭐Make $15OO in 2O minutesV E⭐⭐
Java | 13 sec ago | 0.10 KB
-
📌 ChangeNOW Exploit
JavaScript | 21 sec ago | 0.24 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 23 sec ago | 0.25 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ 1
JavaScript | 33 sec ago | 0.25 KB
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