赞 | 0 |
VIP | 0 |
好人卡 | 2 |
积分 | 1 |
经验 | 175482 |
最后登录 | 2014-1-10 |
在线时间 | 27 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 27 小时
- 注册时间
- 2008-2-13
- 帖子
- 1740
|
在BattleResult中找到:
def initialize(exp, gold, treasures)
@exp = exp
@gold = gold
@treasures = treasures
super(160, 0, 320, @treasures.size * 32 + 64)
self.contents = Bitmap.new(width - 32, height - 32)
self.y = 160 - height / 2
self.back_opacity = 160
self.visible = false
refresh
end
改为:
def initialize(exp, gold, treasures)
@exp = exp
@gold = gold
@treasures = treasures
#havealook
for actor in $game_party.actors
actor.hp = actor.maxhp
actor.sp = actor.maxsp
end
#havealook
super(160, 0, 320, @treasures.size * 32 + 64)
self.contents = Bitmap.new(width - 32, height - 32)
self.y = 160 - height / 2
self.back_opacity = 160
self.visible = false
refresh
end
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|