赞 | 0 |
VIP | 0 |
好人卡 | 18 |
积分 | 1 |
经验 | 14606 |
最后登录 | 2012-11-16 |
在线时间 | 273 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 273 小时
- 注册时间
- 2011-5-20
- 帖子
- 295
|
替换Window_ActorCommand###,坐标自己改下- #==============================================================================
- # ■ Window_ActorCommand
- #------------------------------------------------------------------------------
- # 战斗画面、选择战斗与逃跑的窗口。
- #==============================================================================
- class Window_ActorCommand < Window_Command
- #--------------------------------------------------------------------------
- # ● 初始化对象
- #--------------------------------------------------------------------------
- def initialize
- super(128, [ ], 1, 4)
- self.active = false
- end
- #--------------------------------------------------------------------------
- # ● 设置
- # actor : 角色
- #--------------------------------------------------------------------------
- def setup(actor)
- s1 = Vocab::attack
- s2 = Vocab::skill
- s3 = Vocab::guard
- s4 = Vocab::item
- if actor.class.skill_name_valid # 特技指令名是否有效
- s2 = actor.class.skill_name # 替换指令名
- end
- @commands = [s1, s2, s3, s4]
- @item_max = 4
- refresh
- self.index = 0
- end
- end
复制代码 |
|