请选择 进入手机版 | 继续访问电脑版
收起左侧

[求助] 请问想要添加船运流该如何添加呢?

[复制链接]
头上长鹅蛋发表于 2024-9-21 21:16:13
 我想要在techtree里添加一个自动生效的船运科技,但好像没生效,有大佬能帮我看一下是什么问题吗?

下面是我的代码

<tech name="chuanyun1" type="Normal">
<dbid>100001</dbid>
<researchpoints>0.0000</researchpoints>
<status>OBTAINABLE</status>
<flag>Shadow</flag>
<effects>
<effect type="Data" amount="0.40" subtype="ResourceTrickleRate" resource="Ships" relativity="Absolute">
<target type="Player">
</target>
</effect>
</effects>
</tech>
沉默的lsp发表于 2024-9-22 12:33:56
什么意思,你是想增加经验细流?那亚洲国家时代一有张卡节约令,里面有增加经验细流的代码
こはね发表于 2024-9-22 13:58:08
旧版本实测没问题,请自己找原因;<Status>OBTAINABLE</Status>+<ResearchPoints>0.0000</ResearchPoints>所有国家开局自动改良
<Tech name ='shipstest' type ='Normal'>
<DBID>1700</DBID>
<ResearchPoints>0.0000</ResearchPoints>
<Status>OBTAINABLE</Status>
<Icon>ui\ingame\icon_age_iv</Icon>
<Flag>Shadow</Flag>
<Effects>
<Effect type ='Data' amount ='0.40' subtype ='ResourceTrickleRate' resource ='ships' relativity ='Absolute'>
<Target type ='Player'></Target></Effect>
<Effect type ='Data' amount ='2.00' subtype ='FreeHomeCityUnit' unittype ='CrateofCoinLarge' relativity ='Absolute'>
<Target type ='Player'></Target></Effect>
<Effect type ='TextOutput'>999402</Effect>
</Effects>
</Tech>

跳转到