| 赞 | 300 |
| VIP | |
| 好人卡 | |
| 积分 | 242 |
| 经验 | |
| 最后登录 | 2026-10-5 |
| 在线时间 | 9564 小时 |
- 梦石
- 1
- 星屑
- 23246
- 在线时间
- 9564 小时
- 注册时间
- 2012-6-19
- 回帖
- 7018
 
|
发表于 2016-2-29 09:10:19
|
显示全部楼层
本帖最后由 喵呜喵5 于 2016-2-29 10:42 编辑
- def equip_slots
- slot = [5,6,7,8,9,10,11,12]
- [a,b,c,d,e].each_with_index do |value, index|
- slot[index] = case value
- when 1 then 13
- when 2 then 14
- when 3 then 15
- end
- end
- return slot
- end
复制代码 |
评分
-
查看全部评分
|