New Materia, - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Archives (https://www.save-point.org/forum-105.html) +--- Forum: Creation Asylum Archives (https://www.save-point.org/forum-90.html) +---- Forum: Scripts & Code Snippets (https://www.save-point.org/forum-92.html) +----- Forum: RPG Maker XP Code (https://www.save-point.org/forum-93.html) +------ Forum: Code Snippets & Others/Misc (https://www.save-point.org/forum-100.html) +------ Thread: New Materia, (/thread-6602.html) |
New Materia, - Vandette - 03-02-2006 New Materia by Vandette Mar 2 2006 This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss. No support is given. If you are the owner of the thread, please contact administration. First off, thanks goes to SephirothSpawn for the creation of his amazingly useful and customizable script. Secondly, when adding the materia information to the list of materia, make sure you give it the next available number (ex: if you have 10 materias, make the one you are adding number 11), the number is the first value in the materia info array. Thirdly, (also about when adding materia) when you add a materia, make sure that the last materia in the list has no comma at the end of it, but all the other ones do. and with out further ado, the Materias: Materia 1: Critical Hit Chance Up Inspired by: Satiel Materia Type: Independent (purple) Description: Raises your chance of a critical hit when equipped, amount raised is based on materia level Instructions: add this materia to your materia list: Code: Materia.new(51, 'Critical Plus', 'Independent', [0, 0, 0, 0, 0, 0], [], [], 2000, 10000, now find this code (in materia system): Code: #-------------------------------------------------------------------------- and add this after it: Code: #-------------------------------------------------------------------------- now goto Game_Battler 3 and find this line: Code: if rand(100) < 4 * attacker.dex / self.agi and replace it with: Code: if rand(100) < ((4 * attacker.dex / self.agi) + attacker.critplus) now go to Game_Enemy and and add a new def called critplus with this code: Code: #-------------------------------------------------------------------------- and thats all. Materia 2: Escape From Battle Chance Up Inspired by: Drake_Miriel Materia Type: Independent (purple) Description: Raises your chance of escaping from battle when equipped, raise is based on materia level Instructions: add this materia to your materia list: Code: Materia.new(52, 'Escape Plus', 'Independent', [0, 0, 0, 0, 0, 0], [], [], 2000, 10000, now find this code (in materia system): Code: #-------------------------------------------------------------------------- and add this after it: Code: #-------------------------------------------------------------------------- now go to Scene_Battle 2 and look for this: Code: # Calculate actor agility average and add this right after it: Code: # Checks for escapeplus materia now scroll down a bit and find this line: Code: success = rand(100) < 50 * actors_agi / enemies_agi and replace it with this: Code: success = rand(100) < (50 * actors_agi / enemies_agi) + escapeplus and thats all. Materia 3: Decrease Casting Cost Inspired by: Drake_Miriel Materia Type: Support (blue) Description: decreases casting cost of attached materia skills based on materia level Instructions: add this materia to your materia list: Code: Materia.new(54, 'Casting Cost Down', 'Support', [0, 0, 0, 0, 0, 0], [], [], 2000, 10000, now find def update_phase3_skill_select (in materia system) and add a line after the third 'end' and put this in it: Code: if materia.special_effect == 'Casting Cost Down' and thats all. Materia 4: Increased Item Drops Inspired by: Vandette Materia Type: Independent (purple) Description: Raises your chance of an enemy dropping an item after battle, raise based on materia level Instructions: add this materia to your materia list: Code: Materia.new(53, 'Item Drop Up', 'Independent', [0, 0, 0, 0, 0, 0], [], [], 2000, 10000, now find this code (in materia system): Code: #-------------------------------------------------------------------------- and add this after it: Code: #-------------------------------------------------------------------------- now goto Scene_Battle 2 (def start_phase5) and find this this: Code: gold += enemy.gold right after it add this: Code: dropup = 0 now scroll down a little and find: Code: if rand(100) < enemy.treasure_prob Code: if rand(100) < enemy.treasure_prob + dropup nd thats all. Materia 5: Damage Cut Inspired by: Drake_Miriel Materia Type: Independent (purple) Description: cuts damage received in battle, cut based on materia level Instructions: add this materia to your materia list: Code: Materia.new(54, 'Cut Damage', 'Independent', [0, 0, 0, 0, 0, 0], [], [], 2000, 10000, now find this code (in materia system): Code: #-------------------------------------------------------------------------- and add this after it: Code: #-------------------------------------------------------------------------- now go to Game_Enemy and and add a new def called cutdamage with this code: Code: #-------------------------------------------------------------------------- right after it add this: Code: dropup = 0 now go to Scene_Battler 3 and go to the def called Attack Effect and find this code: Code: self.hp -= self.damage replace it with this: Code: subdmg = self.damage / self.cutdamage and thats all. if you have any materia requests, post them here. |