I do not know what magic has happened, but now is working perfectly.
And as incredible as it sounds, generated a mismatch with the hud MogHunter, I just thought "perfect" because it does not show the windows of "Small summons" but generates problem with med and big.
Generated incompatibility with "Unique Class" of Fomar (Med / Big)
Invoking the "Med", generates the error "Visual" of the ATB of the HUD Moghunter bar. (Stopped charging, only visual)
Invoking the "Big" in the battle manager generates error and closes the game.
Do you think you could help me?
ps- For "Pet and summon" script work properly, I put him in the top of the list. just below the Battle Symphony.
Line 29: TypeError ocurred.
no implicit conversion from nil to integer.
Unique Class (Erro here)
"Game_Elementlista1"
Mog Script.txt
And as incredible as it sounds, generated a mismatch with the hud MogHunter, I just thought "perfect" because it does not show the windows of "Small summons" but generates problem with med and big.
Generated incompatibility with "Unique Class" of Fomar (Med / Big)
Invoking the "Med", generates the error "Visual" of the ATB of the HUD Moghunter bar. (Stopped charging, only visual)
Invoking the "Big" in the battle manager generates error and closes the game.
Do you think you could help me?
ps- For "Pet and summon" script work properly, I put him in the top of the list. just below the Battle Symphony.
Line 29: TypeError ocurred.
no implicit conversion from nil to integer.
Unique Class (Erro here)
=beginUnique Classes Scriptby Fomar0153Version 1.0----------------------Notes----------------------Useless by itself.This script allows for scripters to develop more individualcharacters or classes with less concern for----------------------Instructions----------------------Edit the case like this:when class_id # Class Name @data[actor_id] ||= Game_ClassName.new(actor_id)Follow the instructions in any Unique Class you add----------------------Known Bugs----------------------None=endclass Game_Actors #-------------------------------------------------------------------------- # ● Rewrites [] #-------------------------------------------------------------------------- def [](actor_id) return nil unless $data_actors[actor_id] case $data_actors[actor_id].class_id # All edits should take place in this case when 1 # Weapon Master @data[actor_id] ||= Game_Elementalista1.new(actor_id) else @data[actor_id] ||= Game_Actor.new(actor_id) end endend
=beginElementalist Classby Fomar0153Version 1.1----------------------Notes----------------------Requires my unique classes scriptAllows you to learn new skills by using skills of the same element.----------------------Instructions----------------------To make an elementalist in the unique classes script set it up like this: when 4 # Elementalist @data[actor_id] ||= Game_Elementalist.new(actor_id)You will need to edit module Fomar, further instructionsare located there.----------------------Change Log----------------------1.0 -> 1.1 Fixed a bug that could cause crashing.----------------------Known bugs----------------------None=endmodule Fomar1 ELEMENTS1 = [] # Add/Edit lines like the ones below ELEMENTS1[3] = {} # ELEMENTS[id][uses] = [NEW_SKILL_ID, NEW_SKILL_ID...] ELEMENTS1[3][1] = [52,53] ELEMENTS1[3][100] = [54]endclass Game_Elementalista1 < Game_Actor #-------------------------------------------------------------------------- # ● New Method setup #-------------------------------------------------------------------------- def setup(actor_id) super(actor_id) @element_uses = [] end #-------------------------------------------------------------------------- # ● New Method add_element_use #-------------------------------------------------------------------------- def add_element_use(id) return if id == -1 if @element_uses[id].nil? @element_uses[id] = 0 end @element_uses[id] += 1 return if Fomar1::ELEMENTS1[id].nil? unless Fomar1::ELEMENTS1[id][@element_uses[id]].nil? for skill in Fomar1::ELEMENTS1[id][@element_uses[id]] (learn_skill(skill)) end end endendclass Game_Battler < Game_BattlerBase #-------------------------------------------------------------------------- # ● Aliases item_apply #-------------------------------------------------------------------------- alias uce_item_apply item_apply def item_apply(user, item) uce_item_apply(user, item) if user.is_a?(Game_Elementalista1) and item.is_a?(RPG::Skill) user.add_element_use(item.damage.element_id) end endend
