| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 16 |
| 经验 | |
| 最后登录 | 2016-2-12 |
| 在线时间 | 209 小时 |
- 梦石
- 0
- 星屑
- 1564
- 在线时间
- 209 小时
- 注册时间
- 2013-6-19
- 回帖
- 123
|
发表于 2013-8-12 22:14:39
|
显示全部楼层
N.A.S.T.Y. Extra Stats
http://forums.rpgmakerweb.com/in ... -nasty-extra-stats/
請在STATS = [:str,:con,:dex,:int,:wis,:cha]
DEFAULT_LEVEL_FORMULA
DEFAULT_FOR_ENEMIES
這三個地方依照個人需求進行刪減
附上我在腳本上的註解
[pre lang="ruby" line="1"]#===============================================================================
# N.A.S.T.Y. Extra Stats
# Nelderson's Awesome Scripts To You
# By: Nelderson
# Made On: 12/19/2011
# Last Updated : 3/27/2012
#===============================================================================
# Update History:
# - Version 1.1 - Cleaned up some shit, and added enemies xstats for Enemies!
# - Version 1.0 - Initial release, made for the shit of it <img src='http://forums.rpgmakerweb.com/public/style_emoticons/<#EMO_DIR#>/tongue.png' class='bbc_emoticon' alt=':P' />
#===============================================================================
# *Notes:
# - This script can be used to make all sorts of stats that can derive from
# an actor's level, and base stats.
#
# - This thing can be a pain to set up, but once it's done, it can be a very
# powerful way to include new stats into your game!
#
# - Made a quick edit to the status screen to show up to 6 stats!
#
# *Usage
#
# -First is the STATS section. This is an array that holds all the new
# stats that everything else gets info from.
#
# - Next fill out the Default Level formula(Use Example Below as a guide)
# *ANYTHING that an actor has, you can base it off of (Except other XSTATS!)
# (level, hp, mp, atk, spi, agi, maxhp, etc.)
#
# -You can use the ACTOR and ENEMY NOTETAGS to customize
# the formulas for each actor.
#
# Examples:
# 按照以下格式貼在主角的備註欄:
# <xstat>
# :str => '(level/3.5) + 16',
# :con => '(level/5.6) + 12',
# :dex => '(level/5.25) + 15 + agi',
# :int => '(level/10.5) + 10',
# :wis => '(level/10.5) + 10',
# :cha => '(level/10.5) + 10',
# <xstat_end>
#
# 也可以直接指定給主角或敵人:
# <xstat>
# :str => 15,
# :con => 14,
# :dex => 13,
# :int => 12,
# :wis => 11,
# :cha => 0,
# <xstat_end>
#
#
# 按照以下格式貼在武器上
#
# <weapon_xstat: 屬性 x> , where STAT is th name of the new stat
#
# Ex. <weapon_xstat: str 5> , 指定的武器增加str5點 #
# *For Scripters
#
# -If you want to access the stats, just use:
# actor.xstat.屬性 - Where STAT is the name of the new stat
# 範例:設置技能的傷害公式為 str*5
# a.xstat.str * 5
# Ex. $game_actors[1].xstat.str , 將會回傳角色1的力量
#
#===============================================================================
# Credits:
# -Nelderson and Zetu
# Original Script was made by Zetu, and I spiced the shit out of it!
#==============================================================================[/pre] |
|