和尚的tactics光环设定: <action> <name stringid="69189">DiscipleHPAura</name> <type>AutoRangedModify</type> <modifyprotoid>ypMonkDisciple</modifyprotoid> <active>0</active> <maxrange>24</maxrange> <persistent>1</persistent> <modifytype>MaxHP</modifytype> <modifymultiplier>1.1</modifymultiplier> <modelattachment>effects\ypack_auras\daimyopower.xml</modelattachment> <modelattachmentbone>bonethatdoesntexist</modelattachmentbone> </action> <action> <name stringid="69190">DiscipleDMGAura</name> <type>AutoRangedModify</type> <modifyprotoid>ypMonkDisciple</modifyprotoid> <active>0</active> <maxrange>24</maxrange> <persistent>1</persistent> <modifytype>Damage</modifytype> <modifymultiplier>1.1</modifymultiplier> <modelattachment>effects\ypack_auras\daimyopower.xml</modelattachment> <modelattachmentbone>bonethatdoesntexist</modelattachmentbone> </action>
看了一下,大概有两种方法,第一种复制已有光环,然后新光环的<modifyprotoid>设定为其他单位;因为<active>0</active>的原因,需要自己改科技激活,搞起来有点麻烦,这里不举例子(有多少个单位就复制粘贴多少次,还要去查科技,改科技、最后还要确保没有任何错误)。第二种直接把<modifyprotoid>ypMonkDisciple</modifyprotoid>修改成<modifyabstracttype>xxxxx</modifyabstracttype>,然后使用unittype(单位标签、单位类型),你可以使用AbstractMonk ;tactics修改如下 <action> <name stringid="69189">DiscipleHPAura</name> <type>AutoRangedModify</type> <modifyabstracttype>AbstractMonk</modifyabstracttype> <active>0</active> <maxrange>24</maxrange> <persistent>1</persistent> <modifytype>MaxHP</modifytype> <modifymultiplier>1.1</modifymultiplier> <modelattachment>effects\ypack_auras\daimyopower.xml</modelattachment> <modelattachmentbone>bonethatdoesntexist</modelattachmentbone> </action> <action> <name stringid="69190">DiscipleDMGAura</name> <type>AutoRangedModify</type> <modifyabstracttype>AbstractMonk</modifyabstracttype> <active>0</active> <maxrange>24</maxrange> <persistent>1</persistent> <modifytype>Damage</modifytype> <modifymultiplier>1.1</modifymultiplier> <modelattachment>effects\ypack_auras\daimyopower.xml</modelattachment> <modelattachmentbone>bonethatdoesntexist</modelattachmentbone> </action>
我查过protoy.xml,只有亚洲国家的探险家(和尚)带有<UnitType>AbstractMonk</UnitType>;所以你需要给其他和尚单位添加<UnitType>AbstractMonk</UnitType>
|