10-13-2024, 10:12 PM
(This post was last modified: 10-13-2024, 10:50 PM by kyonides.
Edit Reason: Edit No. 6
)
DerVVulfman Wrote:AND DAMMIT, I KNEW SOMETHING WAS WRONG! VIC WROTE ANOTHER SCRIPT!!!!
That explains it all.
Sadly, Victor Sant never considered he had to remove / alter the previous one from the demo.
There might be another (partial?) solution...
IGNORE THIS POST AND JUMP TO POST #7!
EDIT #3:
Code:
class Game_Actor
def apply_set_efect(set_id)
return if Set_Effect[set_id].nil?
set = Set_Effect[set_id].dup
if set['status'] != nil
for st in Set_Effect[set_id]['status']
eval("@set_#{st[0]} += #{st[0] ? st[1] || 0}")
end
end
@set_equipment_skills << set['skills'] if set['skills'] != nil
@set_elemental_resist << set['elements'] if set['elements'] != nil
@set_state_resist << set['states'] if set['states'] != nil
@set_auto_states << set['auto states'] if set['auto states'] != nil
@set_auto_states.flatten!
@set_auto_states.uniq!
gain_set_skill
end
end
Edit #4
This would be the full version of my patch.
Code:
# * ATOA CBS - Equipment Set Variables Patch * #
# Scripter : Kyonides Arkanthes
# 2024-10-13
class Game_Actor
alias :kyon_atoa_eqset_patch_gm_act_setup :setup
def setup(actor_id)
equipment_set_vars
kyon_atoa_eqset_patch_gm_act_setup(actor_id)
end
def equipment_set_vars
@set_eva = 0
@set_hit = 0
@set_crt = 0
@set_dmg = 0
@set_rcrt = 0
@set_rdmg = 0
end
def apply_set_efect(set_id)
return if Set_Effect[set_id].nil?
set = Set_Effect[set_id].dup
if set['status'] != nil
for st in Set_Effect[set_id]['status']
eval("@set_#{st[0]} += #{st[0] ? st[1] || 0}")
end
end
@set_equipment_skills << set['skills'] if set['skills'] != nil
@set_elemental_resist << set['elements'] if set['elements'] != nil
@set_state_resist << set['states'] if set['states'] != nil
@set_auto_states << set['auto states'] if set['auto states'] != nil
@set_auto_states.flatten!
@set_auto_states.uniq!
gain_set_skill
end
end
"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.
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!
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
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
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!
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