RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Exempt Battle Stats

0 Members and 1 Guest are viewing this topic.

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Zero to Hero2014 Best IRC Quote2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
    Exempt Battle Stats
    Version: 1.0
    Author: Welfare-Daddy Pacman
    Date: March 27, 2011

    Version History


    • <Intergration> 27.03.2011 - Script integrated with  Exempt Actor Stats into Exempt Actor Parameters. This script is now obsolete.
      • <Version 1.0> 27.03.2011 - Original release.

      Planned Future Versions
      • Integrating a slice of pie into the piece :V

      Description

      This script allows you to choose which actors, if any, should have ATK, DEF, SPI and AGI displayed. This is most likely to be used in non-fighting games.
      Features

      • Allows creator to choose which actors have battle stats displayed.
      • Incredibly easy to implement.

      Screenshots

      Not applicable, really.

      Instructions

    Code: [Select]
    #==============================================================================
    #  Exempt Battle Stats
    #  Version: 1.0
    #  Author: Welfare-Daddy Pacman (rmrk.net)
    #  Date: March 27, 2011
    #
    #------------------------------------------------------------------------------#
    #  Description:
    #
    #  This is a script to be used with my Actor Stats script. It allows you to
    #  choose if actors have battle stats (ATK, DEF, SPI and AGI) or not.
    #
    #------------------------------------------------------------------------------#
    #  Instructions:
    #   
    #  - First, get my Actor Stats script from here:
    #  - Place this script in the materials section, above Main.
    #  - Enter the Actor IDs whose Battle Stats you don't want displayed in the
    #  EXEMPT_BSTATS array.
    #=============================================
    class Window_Base
    #=============================================
      # EDITABLE SECTION
     
    EXEMPT_BSTATS = [1, 2] # Place actor IDs who you wish to not have battle stats
    # displayed here, e.g. [1, 2, 3, 4]

      # END EDITABLE SECTION
    #=============================================

    alias exempt_draw_actor_parameter draw_actor_parameter
    def draw_actor_parameter(actor, x, y, type)
      if EXEMPT_BSTATS.include?(actor.id)
        return
      else
        exempt_draw_actor_parameter(actor, x, y, type)
      end
    end
    end
    #=============================================
      #Process complete
    #=============================================

    Credit

    • Welfare-Daddy Pacman
    Thanks
    • LoganForrests for helping me with scripting.
    • RMRK for being awesome.

    Known Compatibility Issues

    Nothing yet.

    Author's Notes

    Use as you wish, but you must credit me please. If you are going to use it in a commercial game (RM commerical? That'll be the day), let me know.
    This script will soon be combined with the Actor Stats script for user convinience. In fact, I'm working on it right now!

     :ccbysa: :rmvx:
    « Last Edit: March 30, 2011, 10:27:59 AM by Welfare-Daddy Pacman »
    it's like a metaphor or something i don't know