- 好友
- 0
- 在线时间
- 140 小时
- 最后登录
- 2026-9-2
平民

- UID
- 239553
- 第纳尔
- 117
- 精华
- 0
- 互助
- 0
- 荣誉
- 0
- 贡献
- 0
- 魅力
- 0
- 注册时间
- 2010-4-23
 
 鲜花( 0)  鸡蛋( 0)
|
本帖最后由 xzhipe111 于 2026-8-16 11:12 编辑
本MOD旨在解决村庄/村民被攻击,以后后期藏身处遍地的痛点。
本mod运作模式如下在村庄有了一定的繁荣度之后,村庄从低级到传奇生成不同的乡勇部队。
该乡勇会在以下几种情况下出现,并且同时只会出现一个部队。
1、本村村民被攻击(敌对势力、野怪)2、村庄被掠夺 3、如果村庄成长到能生成最高级的部队,那么每15天会自动搜索村庄一定范围内的藏身处,然后派该部队去清剿它,清剿完成后该部队会在附近巡逻三天,只会攻击野怪。三天时间到就返回村庄。
如果该乡勇部队被击败,则该村庄自动扣除该部队生成时候的繁荣度,并且进入5天冷却(期间不会产生新的部队)
该部队战斗后获得的俘虏自动进去该村庄所属城堡或者城镇的监狱。清除藏身处获得的影响力和声望归该村庄领主所有(ai领主一样生效)
繁荣度分档机制:0-199 不出兵,200-399 低级 60 人,400-599 中级 80 人,600-999 高级 100 人,1000+ 传奇 150 人;每档按村庄文化自动配兵(由低到高),近战:远程:骑兵 = 1:1:1。
v1.1.1 修复(Fixes)
- 修复解散乡勇时的空引用(NRE):乡勇返回进村后先离开定居点再销毁;若正常销毁失败,直接移除部队兜底,避免部队卡在村外并造成每小时重试的日志风暴。
- Fixed a null-reference (NRE) when dismissing the militia: it now leaves the settlement before being destroyed; if normal destruction fails, the party is forcibly removed so it never gets stuck outside the village and spams
v1.1.2 修复(Fixes)
- 修复野地战斗站队错误:在村庄附近打野怪(强盗/劫匪)时,乡勇不再以 Defender 身份站到野怪一边;改为检测哪一方是野怪,乡勇加入野怪的对立面(玩家/领主一侧)。
- Fixed the open-field battle side bug: when fighting bandits/raiders near a village, the militia no longer joins the bandits' side as Defender; it now detects which side is the bandit and joins the opposite side (player/lord).
- 触发条件收紧:野地战斗只在"恰好一方是野怪"时才出兵帮忙;村庄被掠夺(Raid)时仍守村加入 Defender;双方都非野怪(领主互殴、玩家打领主)时不掺和。
- Tightened triggers: the militia only intervenes when exactly one side is a bandit; it still defends the village during raids as Defender; it stays out when neither side is a bandit (lord vs lord, or player vs lord).
|
|