The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => XP Scripts Database => Topic started by: game_guy on February 11, 2009, 04:40:20 AM

Title: Equipment Stat Breaker
Post by: game_guy on February 11, 2009, 04:40:20 AM
Equipment Stat Breaker
Version: 1.0
Type: Misc Add-On
Key Term: Misc Add-On

Introduction

First I make actor stat breaker(with item max breaker and gold etc.), then the enemy stat breaker, now the Equipment Stat Breaker!
I'm prettu sure everything is self explanoitory but it allows you to break the equipments 999 max.

Features


Screenshots

Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi307.photobucket.com%2Falbums%2Fnn318%2Fbahumat27%2Fequip.jpg&hash=f417130c6561c58008af405ef9259e8a0959ef59)

Demo

http://www.savefile.com/files/1981582 < Includes enemy stat breaker and max modifier

Script

Post Above blizz's scripts
Spoiler for:
Code: [Select]
#==============================================================================#
#                     Game Guy's Equipment Stat Breaker                        #
#==============================================================================#
# This bypasses the editors equipment stats so you can make them go above
# 999.
#
# Just run $scene = EquipmentStatBreaker.new in a script command
#
# To edit weapons go to line # Edit Weapons Here and add a line below it
# containg this for a new weapons
# $data_weapons[x].y = z
# X = weapon id
# Y = stat str_plus, agi_plus, atk, pdef, mdef, int_plus, dex_plus
# Z = number
#
# Do the same for armor go to line # Edit Armor Here and add this below it
# $data_armors[x].y = z
# X = armor id
# Y = stat eva_plus, mdef_plus, pdef, int_plus, agi_plus, str_plus, dex_plus
# Z = number
# Please give proper credits to game_guy for making it
class EquipmentStatBreaker
  def main
    # Edit Weapons Here
    $data_weapons[1].atk = 10000
    $data_weapons[1].str_plus = 1500
    # End Editing Weapons
    # Edit Armor Here
    $data_armors[1].eva = 1000
    $data_armors[1].str_plus = 1500
    # End Editing Armor
    @sprite = Spriteset_Map.new
    loop do
      Graphics.update
      Input.update
      close
      if $scene != self
        break
      end
    end
    Graphics.freeze
    @sprite.dispose
  end
  def close
    $scene = Scene_Map.new
  end
end


Instructions

Go to # Edit Weapons Here and add a new line below it. Add this to is
$data_weapons[x].y = z
X = Weapon Id
Y = stat choices are atk, mdef, pdef, str_plus, int_plus, dex_plus, and agi_plus

Same for armors just go to line # Edit Armor Here add a new line and put this in it
$data_armors[x].y = z
X = Armor ID
Y = Stat choices are mdef, pdef, eva, str_plus, dex_plus, int_plus, and _agi_plus

Compatibility

Not compatible with anything that modifies weapons stats.
Should work with Guilamme's Multi Slot Equipment

Credits and Thanks


Author's Notes

Post any bugs and give proper credit