赞 | 5 |
VIP | 71 |
好人卡 | 22 |
积分 | 6 |
经验 | 32145 |
最后登录 | 2013-8-9 |
在线时间 | 184 小时 |
Lv2.观梦者 天仙
- 梦石
- 0
- 星屑
- 620
- 在线时间
- 184 小时
- 注册时间
- 2008-4-15
- 帖子
- 5023
|
{/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
|
|