我又来问问题了,这次我想恢复原版有的和尚增强弟子生命值和攻击力的光环,我注意到原版的寺庙科技“体能训练”在决定版里不再开启相关光环了,只单纯地增加了一下生命值和攻击力,但检查tactic文件后我发现和尚的光环仍然存在,只是active为0,我起初用在techtreemod里的ypMonasteryDiscipleAura添加了: <effect mergeMode='add' type="Data" action="DiscipleHPAura" amount="1.00" subtype="ActionEnable" relativity="Absolute"> <target type="ProtoUnit">ypMonkChinese</target> </effect> <effect mergeMode='add' type="Data" action="DiscipleDMGAura" amount="1.00" subtype="ActionEnable" relativity="Absolute"> <target type="ProtoUnit">ypMonkChinese</target> </effect> 但不起效,techtreemod里其他我添加的科技也失效了。于是我改成: <tech mergeMode="replace" name="ypMonasteryDiscipleAura" type="Normal"> <dbid>4783</dbid> <displaynameid>65967</displaynameid> <cost resourcetype="Food">100.0000</cost> <cost resourcetype="Gold">100.0000</cost> <researchpoints>15.0000</researchpoints> <status>UNOBTAINABLE</status> <icon>resources\images\icons\techs\asians\disciple_aura.png</icon> <rollovertextid>65968</rollovertextid> <flag>UniqueTech</flag> <flag>CountsTowardMilitaryScore</flag> <flag>YPMonasteryTech</flag> <effects> <effect type="Data" amount="1.10" subtype="Damage" allactions="1" relativity="BasePercent"> <target type="ProtoUnit">ypMonkDisciple</target> </effect> <effect type="Data" amount="1.10" subtype="Hitpoints" relativity="BasePercent"> <target type="ProtoUnit">ypMonkDisciple</target> </effect> <effect type="Data" action="DiscipleHPAura" amount="1.00" subtype="ActionEnable" relativity="Absolute"> <target type="ProtoUnit">AbstractChineseMonk</target> </effect> <effect type="Data" action="DiscipleDMGAura" amount="1.00" subtype="ActionEnable" relativity="Absolute"> <target type="ProtoUnit">AbstractChineseMonk</target> </effect> </effects> 依然不行。我想知道是什么原因?恳请各位大佬赐教。 |