ATOA CBS Equipment Set Variables Patch
#1
ATOA CBS: Equipment Set Variables Patch

by Kyonides

Introduction

Long story short, a guy who would definitely love to bomb all chickens around the world had a problem. One add-on made the whole ATOA CBS demo crash mercilessly. It was asking for instance variables that had not been initialized when it should have! Shocked

Then comes a long discussing without the forumer getting involved until the very end that lead me to the following discovery: the script was expecting you to know beforehand that you had to implement the ATOA New Status script in your game before running it. The author forgot to set the variables, but let them get called by some Game_Actor's fundamental methods.  And when I say fundamental, I seriously Serious mean it.

Don't Worried worry, pals! Here's the solution to that cumbersome issue! Grinning

The Patch

This scriptlet simply overwrites the reset_set_status method and removes that useless condition for good. Winking

Code:
# * ATOA CBS - Equipment Set Variables Patch * #
#  Scripter : Kyonides Arkanthes
#  2024-10-13

class Game_Actor
  def reset_set_status
    status = ['maxhp','maxsp','atk','pdef','mdef','str','dex','int','agi','eva','hit']
    status += ['crt','dmg','rcrt','rdmg']
    for st in status
      eval("@set_#{st} = 0")
    end
    @set_equipment_skills = []
    @set_auto_states = []
    @set_elemental_resist = []
    @set_state_resist = []
    forget_set_skills
  end
end

Terms & Conditions

Free for any RMXP game! Gamer
Due credit is optional but appreciated.
Mention this forum if you use the patch.
That's it! Tongue sticking out
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Angie's Equipment Sets DerVVulfman 3 9,487 08-04-2024, 01:44 AM
Last Post: DerVVulfman
   The Charlie Mini-Map / Dynamic Maps Patch DerVVulfman 2 4,906 03-29-2022, 11:55 PM
Last Post: DerVVulfman
   ACBS FIX SCRIPT #1: Victory Cries Patch DerVVulfman 1 4,714 08-08-2019, 02:53 PM
Last Post: aeliath
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 256,302 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   H-Mode7 Visual Equipment Chaotech Games 8 36,781 03-30-2017, 01:58 AM
Last Post: wrathx
   ATOA Chanting Battle Animations DerVVulfman 9 17,886 01-12-2017, 01:46 PM
Last Post: Noctis
   Moonpearl Patch for Multi-Slots! DerVVulfman 0 5,564 05-23-2016, 04:30 AM
Last Post: DerVVulfman
   ATOA Status Effect Pops DerVVulfman 6 12,328 01-29-2016, 06:30 AM
Last Post: Lightness
   Lycan ABS / MGC Mode7 Edit Patch DerVVulfman 2 9,467 10-18-2015, 07:12 PM
Last Post: DerVVulfman
   Isometric Maps: MiniMap DVV Patch DerVVulfman 0 5,271 06-26-2014, 03:27 AM
Last Post: DerVVulfman



Users browsing this thread: 1 Guest(s)