赞 | 0 |
VIP | 0 |
好人卡 | 5 |
积分 | 1 |
经验 | 2277 |
最后登录 | 2020-9-11 |
在线时间 | 72 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 136
- 在线时间
- 72 小时
- 注册时间
- 2009-12-24
- 帖子
- 25
|
在脚本 Window_Status 中的self.contents.clear下面加入- if @actor.id==1 #如果为1号角色
- if $game_variables[1]>=0 and $game_variables[1]<50 #1号变量大于等于0 并且小于50
- self.contents.draw_text(130, 50,200, 30,"无名小辈" )#$game_variables[1].to_s)
- elsif $game_variables[1]>=50
- self.contents.draw_text(130, 50,200, 30,"德高望重" )
- end
- elsif @actor.id==2
- if $game_variables[2]>=0 and $game_variables[2]<50
- self.contents.draw_text(130, 50,200, 30,"无名小辈" )#$game_variables[1].to_s)
- elsif $game_variables[2]>=50
- self.contents.draw_text(130, 50,200, 30,"德高望重" )
- end
- elsif @actor.id==3
- if $game_variables[3]>=0 and $game_variables[3]<50
- self.contents.draw_text(130, 50,200, 30,"无名小辈" )#$game_variables[1].to_s)
- elsif $game_variables[3]>=50
- self.contents.draw_text(130, 50,200, 30,"德高望重" )
- end
- elsif @actor.id==4
- if $game_variables[4]>=0 and $game_variables[4]<50
- self.contents.draw_text(130, 50,200, 30,"无名小辈" )#$game_variables[1].to_s)
- elsif $game_variables[4]>=50
- self.contents.draw_text(130, 50,200, 30,"德高望重" )
- end
- end
复制代码 1号变量记录1号角色的声望值 2号变量记录2号角色的声望值 以此类推 |
|