赞 | 5 |
VIP | 71 |
好人卡 | 22 |
积分 | 6 |
经验 | 32145 |
最后登录 | 2013-8-9 |
在线时间 | 184 小时 |
Lv2.观梦者 天仙
- 梦石
- 0
- 星屑
- 620
- 在线时间
- 184 小时
- 注册时间
- 2008-4-15
- 帖子
- 5023
|
找到了
參考這段
- def setup_battle_test_members
- @actors = []
- for battler in $data_system.test_battlers
- actor = $game_actors[battler.actor_id]
- actor.change_level(battler.level, false)
- actor.change_equip_by_id(0, battler.weapon_id, true)
- actor.change_equip_by_id(1, battler.armor1_id, true)
- actor.change_equip_by_id(2, battler.armor2_id, true)
- actor.change_equip_by_id(3, battler.armor3_id, true)
- actor.change_equip_by_id(4, battler.armor4_id, true)
- actor.recover_all
- @actors.push(actor.id)
- end
- @items = {}
- for i in 1...$data_items.size
- if $data_items[i].battle_ok?
- @items[i] = 99 unless $data_items[i].name.empty?
- end
- end
- end
复制代码 |
|