- 好友
 - 5
  
- 在线时间
 - 0 小时
  
- 最后登录
 - 2025-11-2
  
 
 
 
 
见习骑士 
  
 
- UID
 - 3225805
  
- 第纳尔
 - 1399 
  
- 精华
 - 0
  
- 互助
 - 37 
  
- 荣誉
 - 0 
  
- 贡献
 - 0 
  
- 魅力
 - 259 
  
- 注册时间
 - 2021-3-14
  
 
  鲜花( 53)   鸡蛋( 0)  
 | 
 
 
发表于 2025-7-13 15:53:07
|
显示全部楼层
 
 
 
最简单的24小时触发器 
 
-   (24,
 
 -    [
 
 -      (try_for_range, ":center_no", centers_begin, centers_end), #循环中心
 
 -      
 
 -      (store_faction_of_party, ":center_faction", ":center_no"), #获取中心阵营
 
 -      (party_get_slot, ":center_lord", ":center_no", slot_town_lord), #获取中心领主
 
 -      
 
 -     (try_begin),
 
 -      (neq, ":center_faction", "fac_player_supporters_faction"), #不是玩家自立王国
 
 -      (ge, ":center_lord", 0), #中心有领主 (不排除玩家)
 
 -      (faction_get_slot, ":faction_leader", ":center_faction", slot_faction_leader), #获取阵营国王
 
 -      (call_script, "script_troop_change_relation_with_troop", ":center_lord", ":faction_leader", 5), #领主和国王增加5点关系
 
 -     (else_try),
 
 -      (eq, ":center_faction", "fac_player_supporters_faction"), #是玩家自立王国
 
 -      (ge, ":center_lord", 1), #中心有领主 (排除玩家)
 
 -      (call_script, "script_troop_change_relation_with_troop", ":center_lord", "trp_player", 5), #领主和玩家增加5点关系
 
 -     (try_end),
 
 -     (try_end),
 
 -     ]),
 
  复制代码 |   
 
 
 
 |