| 赞 | 4 |
| VIP | |
| 好人卡 | |
| 积分 | 7 |
| 经验 | |
| 最后登录 | 2013-8-9 |
| 在线时间 | 184 小时 |
天仙
- 梦石
- 0
- 星屑
- 720
- 在线时间
- 184 小时
- 注册时间
- 2008-4-15
- 回帖
- 4872

|
发表于 2008-3-29 03:47:44
|
显示全部楼层
{/gg}{/gg}
报告行数错误
请载往上几行看
是在case那行
#-------------------------------------------------------------------------
# 物品2
#-------------------------------------------------------------------------
def draw_enemy_item2(id)
self.contents.font.color = Color.new(128,255,128,255)
self.contents.draw_text(0,288,60,24,"物品二")
self.contents.font.color = normal_color
case $data_enemies[id].drop_item1.kind
when 0
self.contents.draw_text(80,288,80,24,"无",2)
when 1
self.contents.draw_text(80,288,80,24,$data_items[$data_enemies[id].drop_item2.item_id].name,2)
when 2
self.contents.draw_text(80,288,80,24,$data_weapons[$data_enemies[id].drop_item2.weapon_id].name,2)
when 3
self.contents.draw_text(80,288,80,24,$data_armors[$data_enemies[id].drop_item2.armor_id].name,2)
end
end
|
|