赞 | 0 |
VIP | 4 |
好人卡 | 43 |
积分 | 94 |
经验 | 75226 |
最后登录 | 2019-3-3 |
在线时间 | 1131 小时 |
Lv4.逐梦者
- 梦石
- 3
- 星屑
- 6420
- 在线时间
- 1131 小时
- 注册时间
- 2007-12-26
- 帖子
- 2402
|
本帖最后由 幻耶 于 2012-6-23 14:16 编辑
我记得怪物图鉴是这样的:不加入图鉴就属性有效度设置为A不显示,为C就是显示的。
可以这样:假设20号属性是不加入图鉴属性。普通难度下61~120号怪物该属性有效度设为A没有图鉴。普通难度打通就打开一开关(比如4号开关)然后在Scene_Load脚本的下面添加代码框里的部分,每次读取存档时当判断出4号开关打开就修改怪物的属性有效度:
#--------------------------------------------------------------------------
# ● 读取存档数据
# file : 读取用文件对像 (已经打开)
#--------------------------------------------------------------------------
def read_save_data(file)
# 读取描绘存档文件用的角色数据
characters = Marshal.load(file)
# 读取测量游戏时间用画面计数
Graphics.frame_count = Marshal.load(file)
# 读取各种游戏对像
$game_system = Marshal.load(file)
$game_switches = Marshal.load(file)
$game_variables = Marshal.load(file)
$game_self_switches = Marshal.load(file)
$game_screen = Marshal.load(file)
$game_actors = Marshal.load(file)
$game_party = Marshal.load(file)
$game_troop = Marshal.load(file)
$game_map = Marshal.load(file)
$game_player = Marshal.load(file)- if $game_switches[4] == true
- for i in 61..120
- $data_enemies[i].element_ranks[20] = 3
- end
- end
复制代码 |
|