- 好友
- 0
- 在线时间
- 213 小时
- 最后登录
- 2023-12-6
扈从
 
- UID
- 1934868
- 第纳尔
- 0
- 精华
- 0
- 互助
- 1
- 荣誉
- 0
- 贡献
- 0
- 魅力
- 0
- 注册时间
- 2014-5-1
 鲜花( 7)  鸡蛋( 0)
|
发表于 2023-11-9 22:15:33
|
显示全部楼层
谢谢大佬耐心回答,不过我刚刚找到一个触发,稍微修改了一下,现在可以了。
(try_begin),
(troop_has_item_equipped,"trp_player","itm_loulan_flying_boots"),
(eq,"$player_has_loulan_flying_boots",0),
(assign,"$player_has_loulan_flying_boots",1),
(2170,":var_1","skl_14","trp_player"),
(try_begin),
(neg|gt,":var_1",13),
(1521,"trp_player","skl_14",5),
(try_end),
(troop_get_slot,":var_2","trp_player",7),
(val_add,":var_2",200),
(troop_set_slot,"trp_player",7,":var_2"),
(try_end),
(try_begin),
(neg|troop_has_item_equipped,"trp_player","itm_loulan_flying_boots"),
(eq,"$player_has_loulan_flying_boots",1),
(assign,"$player_has_loulan_flying_boots",0),
(2170,":var_1","skl_14","trp_player"),
(try_begin),
(ge,":var_1",5),
(1521,"trp_player","skl_14",5),
(try_end),
(troop_get_slot,":var_2","trp_player",7),
(val_sub,":var_2",200),
(val_max,":var_2",0),
(troop_set_slot,"trp_player",7,":var_2"),
(try_end),
|
|