Project1
标题:
脚本问题
[打印本页]
作者:
ni838746001
时间:
2011-7-30 15:19
标题:
脚本问题
本帖最后由 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
复制代码
我不希望他显示装备的名字。只想显示图标?怎么弄好呃? dsu_plus_rewardpost_czw
作者:
starky_ds
时间:
2011-7-30 17:52
把20行到31行删掉就是
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1