赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 1 |
经验 | 55044 |
最后登录 | 2022-1-4 |
在线时间 | 49 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 95
- 在线时间
- 49 小时
- 注册时间
- 2006-5-7
- 帖子
- 526
|
升级提示的话,别的学会绝招不提示啊
其实参考“自动提示”改一个就好
- $不显示特技 = 46
- #46号开关打开时,不显示自动提示
- class Interpreter
- #--------------------------------------------------------------------------
- # ● 增减特技
- #--------------------------------------------------------------------------
- def command_318
- # 获取角色
- actor = $game_actors[@parameters[0]]
- # 增减特技
- if actor != nil
- if @parameters[1] == 0
- actor.learn_skill(@parameters[2])
- else
- actor.forget_skill(@parameters[2])
- end
- end
- # 继续
- if $game_switches[$不显示特技]==false
- carol3_66RPG_item = $data_skills[@parameters[2]]
- carol3_66RPG = Window_Base.new((640-300)/2,128,300,100)
- carol3_66RPG.contents = Bitmap.new(carol3_66RPG.width - 32, carol3_66RPG.height - 32)
- name = $data_actors[@parameters[0]].name
- if @parameters[1] == 0
- carol3_66RPG.contents.draw_text(0,0,240,32,name+"习得特技:")
- #——声效,可以自己改
- Audio.se_play("Audio/SE/"+"006-System06",80,100)
- else
- carol3_66RPG.contents.draw_text(0,0,240,32,name+"失去特技:")
- #——声效,可以自己改
- Audio.se_play("Audio/SE/"+"005-System05",80,100)
- end
- carol3_66RPG_bitmap = RPG::Cache.icon(carol3_66RPG_item.icon_name)
- carol3_66RPG.contents.blt(0, 32, carol3_66RPG_bitmap, Rect.new(0, 0, 24, 24), 255)
- carol3_66RPG.contents.draw_text(0 + 28, 32, 212, 32, carol3_66RPG_item.name, 0)
- carol3_66RPG.opacity = 160
- for i in 0..30
- Graphics.update
- end
- for i in 0..10
- carol3_66RPG.opacity -= 30
- carol3_66RPG.contents_opacity -= 30
- Graphics.update
- end
- carol3_66RPG.dispose
- end
- return true
- end
- end
复制代码 |
|