赞 | 0 |
VIP | 0 |
好人卡 | 2 |
积分 | 1 |
经验 | 1384 |
最后登录 | 2014-2-18 |
在线时间 | 40 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 40 小时
- 注册时间
- 2011-7-7
- 帖子
- 39
|
本帖最后由 fux2 于 2011-7-30 15:54 编辑
- ■ Window_EquipRight
- #--------------------------------------------------------------------------
- # ● 刷新
- #--------------------------------------------------------------------------
-
- def refresh
- self.contents.clear
- @data = []
- @data.push($data_weapons[@actor.hand1_id])
- @data.push($data_armors[@actor.hand2_id])
- @data.push($data_armors[@actor.upbody_id])
- @data.push($data_armors[@actor.downbody_id])
- @data.push($data_armors[@actor.head_id])
- @data.push($data_armors[@actor.shoe_id])
- @data.push($data_armors[@actor.jewel1_id])
- @data.push($data_armors[@actor.jewel2_id])
- @data.push($data_armors[@actor.jewel3_id])
- @data.push($data_armors[@actor.name_id])
- @item_max = @data.size
- self.contents.font.color = Color.new(0,0,0,255)
- self.contents.font.size=11
- self.contents.draw_text(4, 32 * 0, 92, 32, "武器")
- self.contents.draw_text(4, 32 * 1, 92, 32, "盾")
- self.contents.draw_text(4, 32 * 2, 92, 32, "身体")
- self.contents.draw_text(4, 32 * 3, 92, 32, "披风")
- self.contents.draw_text(4, 32 * 4, 92, 32, "头部")
- self.contents.draw_text(4, 32 * 5, 92, 32, "鞋子")
- self.contents.draw_text(4, 32 * 6, 92, 32, "戒指")
- self.contents.draw_text(4, 32 * 7, 92, 32, "项链")
- self.contents.draw_text(4, 32 * 8, 92, 32, "手镯")
- self.contents.draw_text(4, 32 * 9, 92, 32, "荣誉")
- draw_item_name(@data[0], 92, 32 * 0)
- draw_item_name(@data[1], 92, 32 * 1)
- draw_item_name(@data[2], 92, 32 * 2)
- draw_item_name(@data[3], 92, 32 * 3)
- draw_item_name(@data[4], 92, 32 * 4)
- draw_item_name(@data[5], 92, 32 * 5)
- draw_item_name(@data[6], 92, 32 * 6)
- draw_item_name(@data[7], 92, 32 * 7)
- draw_item_name(@data[8], 92, 32 * 8)
- draw_item_name(@data[9], 92, 32 * 9)
- end
复制代码 我不希望他显示装备的名字。只想显示图标?怎么弄好呃? |
评分
-
查看全部评分
|