本帖最后由 lmplosion2008 于 2022-7-20 20:04 编辑
新人第一次发帖,不怎么会,如果分区选错了还请嘴下留情
这次发帖就是为了教会大家怎么在战团原版市场买到自己导入的火器
其实啊非常的简单
1、打开魔球
2、找到编辑器--触发器,然后随便选一个触发器,创建新触发器
3、把新建触发器的激发条件和激发结果的代码全部删掉
4、在新建触发器的激发结果把这段代码复制上去:
———————————————————————————————————分界线:“下面是代码”—————————————————————————————————————
(reset_item_probabilities,100),
(set_merchandise_modifier_quality,150),
(try_for_range,reg2,"trp_town_1_weaponsmith","trp_town_1_tavernkeeper"),
(store_sub,":var_0",reg2,"trp_town_1_weaponsmith"),
(val_add,":var_0","p_town_1"),
(party_get_slot,":var_1",":var_0",61),
(troop_add_merchandise_with_faction,reg2,":var_1",itp_type_one_handed_wpn,5),
(troop_add_merchandise_with_faction,reg2,":var_1",itp_type_two_handed_wpn,5),
(troop_add_merchandise_with_faction,reg2,":var_1",itp_type_polearm,5),
(troop_add_merchandise_with_faction,reg2,":var_1",itp_type_shield,6),
(troop_add_merchandise_with_faction,reg2,":var_1",itp_type_bow,4),
(troop_add_merchandise_with_faction,reg2,":var_1",itp_type_crossbow,3),
(troop_add_merchandise_with_faction,reg2,":var_1",itp_type_thrown,5),
(troop_add_merchandise_with_faction,reg2,":var_1",itp_type_arrows,2),
(troop_add_merchandise_with_faction,reg2,":var_1",itp_type_bolts,2),
(troop_add_merchandise,reg2,itp_type_musket,3),
(troop_add_merchandise,reg2,itp_type_pistol,4),
(troop_add_merchandise,reg2,itp_type_bullets,2),
(troop_ensure_inventory_space,reg2,30),
(troop_sort_inventory,reg2),
(store_troop_gold,reg6,reg2),
(neg|ge,reg6,900),
(store_random_in_range,":var_2",200,400),
(call_script,"script_440",reg2,":var_2"),
(try_end,0),
———————————————————————————————————分界线:“上面是代码”—————————————————————————————————————
5、然后设置一下检测时间(建议24.000000,自己看着改),延迟时间和重启时间设置为0.000000
6、套用,保存剧本,打开游戏,全图市场找就行了,找不到的话先等几天
新人发帖,还请多多关照!!!!!!!!!! |