赞 | 1 |
VIP | 255 |
好人卡 | 52 |
积分 | 1 |
经验 | 77416 |
最后登录 | 2016-1-18 |
在线时间 | 1269 小时 |
Lv1.梦旅人 薄凉看客
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 1269 小时
- 注册时间
- 2010-6-20
- 帖子
- 1316
|
好吧~!替换相应内容(这段脚本是默认的攻击、物防和魔防)- if @new_atk != nil
- self.contents.font.color = system_color
- self.contents.draw_text(160, 64, 40, 32, "→", 1)
- if @new_atk > @actor.atk
- self.contents.font.color = Color.new(120, 255, 120, 255)
- elsif @new_atk < @actor.atk
- self.contents.font.color = Color.new(255, 120, 120, 255)
- elsif @new_atk = @actor.atk
- self.contents.font.color = normal_color
- end
- self.contents.draw_text(200, 64, 36, 32, @new_atk.to_s, 2)
- end
- if @new_pdef != nil
- self.contents.font.color = system_color
- self.contents.draw_text(160, 96, 40, 32, "→", 1)
- if @new_pdef > @actor.pdef
- self.contents.font.color = Color.new(120, 255, 120, 255)
- elsif @new_pdef < @actor.pdef
- self.contents.font.color = Color.new(255, 120, 120, 255)
- elsif @new_pdef = @actor.pdef
- self.contents.font.color = normal_color
- end
- self.contents.draw_text(200, 96, 36, 32, @new_pdef.to_s, 2)
- end
- if @new_mdef != nil
- self.contents.font.color = system_color
- self.contents.draw_text(160, 128, 40, 32, "→", 1)
- if @new_mdef > @actor.mdef
- self.contents.font.color = Color.new(120, 255, 120, 255)
- elsif @new_mdef < @actor.mdef
- self.contents.font.color = Color.new(255, 120, 120, 255)
- elsif @new_mdef = @actor.mdef
- self.contents.font.color = normal_color
- end
- self.contents.draw_text(200, 128, 36, 32, @new_mdef.to_s, 2)
- end
- end
复制代码 |
评分
-
查看全部评分
|