mod守护者游戏参考。 修改前,一定要注意备份文件 ------------------------------------ --修改Items.xcr的Items.xml --注意Item的Item id和Set的Item id ------------------------------------ <Item id="531"><!---used in aaaagq - A gift from aaaagq ---> <Name>Ring of aaaagq</Name> <Power id="0" type="hero skill" data="2" level="100"/> <Power id="1" type="hero skill" data="3" level="100"/> <Power id="2" type="hero skill" data="5" level="100"/> <Power id="3" type="hero skill" data="6" level="100"/> <Description>YOU SHOULD NOT HAVE THIS ITEM. It is said that this ring was a gift from aaaagq.</Description> <Image iconrow="5" iconcol="2" /> <Data value="0" level="artifact" rarity="0"/> <Sound pickup="Ring"/> </Item> <Item id="532"><!---used in aaaagq - A gift from aaaagq ---> <Name>aaaagq Staff</Name> <Power id="0" type="electricity" data="20" level="142" chance="100"/> <Power id="1" type="hero skill" data="125" level="100"/> <Power id="2" type="vision" data="100"/> <Power id="3" type="mana discount" data="100"/> <Description>YOU SHOULD NOT HAVE THIS ITEM. It is said that this Staff was a gift from aaaagq.</Description> <Image iconrow="1" iconcol="14"/> <Data value="0" level="artifact" rarity="0"/> <Sound damage="5" skin="0" pickup="Rod"/> </Item> ------------------ <Set id="35"> <Name>ring of aaaagq</Name> <Power id="0" type="hero skill" data="55" level="100"/> <Power id="1" type="hero skill" data="56" level="100"/> <Power id="2" type="hero skill" data="57" level="100"/> <Power id="3" type="hero skill" data="58" level="100"/> <Item id="531"/> </Set> ------------------------------------ --修改\CustomCampaigns\The Fifth Horseman (WBC3)\English的Campaign_Custom.xcr --修改LOC_SUNDEREDISLE --ACT_BUYRAGNAR可以购买冰龙 --ACT_GETITEM01可以战斗后获得我们自建的物品 ---修改<Actions>添加 <Action code="ACT_BUYRAGNAR"/> <Action code="ACT_GETITEM01"/> <Action code="ACT_GETITEM02"/> ------------------------------------ --添加战斗获得物品的设定, --可以【Export file】(不要解密)ACT_ExploreSundIsle.act,修改文件名ACT_GetItem01.act再【add】。 --添加文件:ACT_GetItem01.act <Action code="ACT_GETITEM01" type="battle" replayable="1"> <Name>Explore Sundered Isle(item531)</Name> <Help>Find out what caused the strange storm</Help> <Description>You will need to search for clues as to what happened on the Sundered Isle. You may take a few troops with you, but you may not build anything.</Description> <Reward type="item" data="531" shorttext="A gift">It is said that this item was a gift from aaaagq.</Reward> <Map code="MAP_EXPLORESUNDISLE"/> </Action> --添加文件:ACT_GetItem02.act <Action code="ACT_GETITEM02" type="battle" replayable="1"> <Name>Explore Sundered Isle(item532)</Name> <Help>Find out what caused the strange storm</Help> <Description>You will need to search for clues as to what happened on the Sundered Isle. You may take a few troops with you, but you may not build anything.</Description> <Reward type="item" data="532" shorttext="A gift">It is said that this item was a gift from aaaagq.</Reward> <Map code="MAP_EXPLORESUNDISLE"/> </Action> ------------------------------------ --ACT_BuyRagnar.act修改 <Action code="ACT_BUYRAGNAR" type="retinue"> <Name>Recruit Ragnar</Name> <Heading>Ragnar</Heading> <Help>Take Ragnar into your Retinue</Help> <Message>Just to be obnoxious, Ragnar also demands Crowns from you for his services.</Message> <Unit name="fixed" level="0" code="AADW">Ragnar</Unit> <Data cost="1" race="17"/> </Action> ------------------------------------