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

带<Flag>Volatile</Flag>有什么办法可以不自动秒改良呢吗

[复制链接]
auroralg4发表于 2024-9-10 18:31:42
 本帖最后由 auroralg4 于 2024-9-10 18:33 编辑 

<tech name="FirstIndustrialRevolution" type="Normal">
<dbid>2646</dbid>
<displaynameid>114525</displaynameid>
<ResearchPoints>120.0000</ResearchPoints>
<status>UNOBTAINABLE</status>
<icon>resources\images\icons\techs\hc_royal_decree\hc_royal_decree.png</icon>
<rollovertextid>114525</rollovertextid>
<Flag>CountsTowardEconomicScore</Flag>
<Flag>Volatile</Flag>
<TechStatus status ='Active'>Colonialize</TechStatus>
<effects>
<effect type ='Data' amount ='1.35' subtype ='BuildingWorkRate' relativity ='BasePercent'>
<target type ='ProtoUnit'>Settler</target>
</effect>
<effect type ='Data' amount ='0.75' subtype ='ResearchPoints' relativity ='Percent'>
<target type ='techAll'></target>
</effect>
</tech>


<ResearchPoints>120.0000</ResearchPoints>这个代表的是改良时间,但还是秒改良
こはね发表于 2024-9-10 19:41:44
从正常角度上来说,没办法,<Flag>Volatile</Flag>是满足前置条件后所有玩家都会自动改良

从换位思考搞事的角度上来说,你可以创建一个单位,设定120秒自动死亡,然后判断该单位死亡数量是否大于0

  • auroralg4 : 谢谢大佬给了个思路
跳转到