| 赞 | 0 |
| VIP | 0 |
| 好人卡 | 0 |
| 积分 | 4 |
| 经验 | 201687 |
| 最后登录 | 2024-7-14 |
| 在线时间 | 125 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 431
- 在线时间
- 125 小时
- 注册时间
- 2006-11-2
- 帖子
- 1200
|
- #==============================================================================
- # 本脚本来自www.66RPG.com,使用和转载请保留此信息
- #==============================================================================
- # ▼▲▼ XRXS15. スキル名クラス別設定 ▼▲▼
- # by 桜雅 在土, シムナフ, fukuyama
- #==============================================================================
- # □ RPG::Class
- #==============================================================================
- module RPG
- class Class
- def name
- name = @name.split(/,/)[0]
- return name != nil ? name : ''
- end
- def name=(str)
- str2 = @name[/^[^,]*(,.*)/, 1]
- @name = str2 != nil ? str + str2 : str
- end
- def word_skill
- name = @name.split(/,/)[1]
- return name != nil ? name : $data_system.words.skill
- end
- end
- end
- #==============================================================================
- # ■ Window_Command
- #==============================================================================
- class Window_Command
- def set_command_name(index, name)
- @commands[index] = name
- refresh
- end
- end
-
- #==============================================================================
- # ■ Scene_Battle
- #==============================================================================
- class Scene_Battle
- alias skill_names_original_phase3_setup_command_window phase3_setup_command_window
- def phase3_setup_command_window
- skill_names_original_phase3_setup_command_window
- return if @active_actor.nil?
- word_skill = $data_classes[@active_actor.class_id].word_skill
- @actor_command_window.set_command_name(1, word_skill)
- end
- end
- #==============================================================================
- # 本脚本来自www.66RPG.com,使用和转载请保留此信息
- #==============================================================================
复制代码
RTAB0.16b带彩虹神剑的效果 系统信息:本贴获得楼主认可,66RPG感谢您的热情解答~ |
|