数据修改
神话时代怎么改数据啊,自己摸索了很久还是搞不成{:425:}部隊單位屬性在 data\protox.xml
科技(包括信奉神祇、聖器效果等)內容在 data\techtreex.xml
神力則是 god powers 目錄下對應名稱的 xml 狂~劇情狂 发表于 2016-2-23 10:34
部隊單位屬性在 data\protox.xml
科技(包括信奉神祇、聖器效果等)內容在 data\techtreex.xml
我知道但是不会改 這些 XML 檔案結構可以說無比清晰了,基本就是英文說明而已,而且你至少舉個例子自己想改什麼才能教你 狂~劇情狂 发表于 2016-2-23 12:45
這些 XML 檔案結構可以說無比清晰了,基本就是英文說明而已,而且你至少舉個例子自己想改什麼才能教你
比如修改英雄帕修斯的攻击力防御力技能CD wstym233 发表于 2016-2-24 11:00
比如修改英雄帕修斯的攻击力防御力技能CD
紅色部分為普通攻擊動作的代碼,Damage屬性定義了7點劈砍(Hack)傷害為基本攻擊力,DamageBonus的10.0及3分別為對神獸部隊(MythUnit)及賽特動物(SetAnimal)的傷害加成倍率
藍色部分為特殊攻擊動作的代碼,ChargeAction屬性的存在讓其被定義為特殊攻擊,而填能時間則由紫色的rechargetime控制為24.0000秒
裝甲由綠色的三行armor damagetype控制,對劈砍(Hack)、穿刺(Pierce)、殲擊(Crush)傷害的抵抗百分比依次為0.20、0.40、0.99
<unit id="555" name="Hero Greek Perseus">
<dbid>2313</dbid>
<displaynameid>16908</displaynameid>
<footprint>Footprint Military</footprint>
<icon>Hero G perseus Icon</icon>
<maxcontained>1</maxcontained>
<containedattack>0.0500</containedattack>
<initialhitpoints>360.0000</initialhitpoints>
<maxhitpoints>360.0000</maxhitpoints>
<los>16.0000</los>
<portraiticon>Hero G Perseus Icon 64</portraiticon>
<obstructionradiusx>0.7000</obstructionradiusx>
<obstructionradiusz>0.7000</obstructionradiusz>
<soundvariant>Hack</soundvariant>
<birthreplacement>Hero Birth</birthreplacement>
<deadreplacement>Hero Death</deadreplacement>
<ballisticsplashproto>Splash</ballisticsplashproto>
<ballisticbounceproto>Dust Medium</ballisticbounceproto>
<rechargetime>24.0000</rechargetime>
<formationcategory>Mobile</formationcategory>
<maxvelocity>4.3000</maxvelocity>
<movementtype>air</movementtype>
<turnrate>18.0000</turnrate>
<unitaitype>HandCombative</unitaitype>
<populationcount>4</populationcount>
<trainpoints>27.0000</trainpoints>
<buildlimit>1</buildlimit>
<allowedage>4</allowedage>
<cost resourcetype="Gold">400.0000</cost>
<cost resourcetype="Favor">6.0000</cost>
<bounty resourcetype="Favor">2.1600</bounty>
<bountyfactor resourcetype="Favor">1.0000</bountyfactor>
<rollovertextid>16613</rollovertextid>
<rolloverbonusdamageid>17279</rolloverbonusdamageid>
<rolloveruseagainstid>17348</rolloveruseagainstid>
<rollovercounterwithid>17570</rollovercounterwithid>
<rolloverupgradeatid>17588</rolloverupgradeatid>
<buttonpos row="0" column="3"></buttonpos>
<armor damagetype="Hack" percentflag="1">0.20</armor>
<armor damagetype="Pierce" percentflag="1">0.40</armor>
<armor damagetype="Crush" percentflag="1">0.99</armor>
<allowedculture>Greek</allowedculture>
<unittype>LogicalTypeVolcanoAttack</unittype>
<unittype>LogicalTypeSuperPredatorsAutoAttack</unittype>
<unittype>LogicalTypeCanBeHealed</unittype>
<unittype>LogicalTypeAffectedByRestoration</unittype>
<unittype>LogicalTypeAffectedByVortex</unittype>
<unittype>LogicalTypeMilitaryUnitsAndBuildings</unittype>
<unittype>LogicalTypeParticipatesInBattlecries</unittype>
<unittype>LogicalTypeTornadoAttack</unittype>
<unittype>LogicalTypeSuperPredatorsAttack</unittype>
<unittype>LogicalTypeValidFlamingWeaponsTarget</unittype>
<unittype>LogicalTypeConvertsHerds</unittype>
<unittype>LogicalTypeValidBoltTarget</unittype>
<unittype>LogicalTypeFimbulWinterTCEvalType</unittype>
<unittype>LogicalTypeEarthquakeAttack</unittype>
<unittype>LogicalTypeFavoriteUnit</unittype>
<unittype>LogicalTypeValidSpyTarget</unittype>
<unittype>LogicalTypeGreekHeroes</unittype>
<unittype>LogicalTypeValidShiftingSandsTarget</unittype>
<unittype>LogicalTypePredatorsAttack</unittype>
<unittype>LogicalTypeNeededForVictory</unittype>
<unittype>LogicalTypeHandUnitsAutoAttack</unittype>
<unittype>LogicalTypeValidFrostTarget</unittype>
<unittype>LogicalTypeLandMilitary</unittype>
<unittype>LogicalTypeImplodeAttack</unittype>
<unittype>LogicalTypeValidSPCUnitsDeadCondition</unittype>
<unittype>LogicalTypeAffectedByHealingSpring</unittype>
<unittype>LogicalTypeUnitsNotBuildings</unittype>
<unittype>LogicalTypeRangedUnitsAutoAttack</unittype>
<unittype>LogicalTypeVillagersAttack</unittype>
<unittype>LogicalTypeHandUnitsAttack</unittype>
<unittype>LogicalTypeRangedUnitsAttack</unittype>
<unittype>LogicalTypeTartarianGateValidOverlapPlacement</unittype>
<unittype>LogicalTypeGarrisonOnBoats</unittype>
<unittype>LogicalTypeValidForestFireTarget</unittype>
<unittype>LogicalTypeValidMeteorTarget</unittype>
<unittype>LogicalTypeMinimapFilterMilitary</unittype>
<unittype>LogicalTypeIdleHero</unittype>
<unittype>LogicalTypeIdleMilitary</unittype>
<unittype>Unit</unittype>
<unittype>UnitClass</unittype>
<unittype>Military</unittype>
<unittype>Hero</unittype>
<flag>HideGarrisonFlag</flag>
<flag>CorpseDecays</flag>
<flag>ApplyHandicapTraining</flag>
<flag>ObscuredByUnits</flag>
<flag>CollidesWithProjectiles</flag>
<flag>DontRotateObstruction</flag>
<flag>ShowGarrisonButton</flag>
<flag>Tracked</flag>
<contain external="1">Relic</contain>
<action name="HandAttack">
<param name="MaximumRange" value1="0.1"></param>
<param name="Damage" type="Hack" value1="7"></param>
<param name="DamageBonus" type="MythUnit" value1="10.0"></param>
<param name="Rate" type="All" value1="5.0"></param>
<param name="AttackAction"></param>
<param name="DamageBonus" type="SetAnimal" value1="3"></param>
</action>
<action name="PickUp">
<param name="TypedRange" type="Relic" value1="1"></param>
</action>
<action name="DropOff">
<param name="TypedRange" type="AbstractTemple" value1="1"></param>
<param name="Rate" type="AbstractTemple" value1="1"></param>
</action>
<action name="FreezeAttack">
<param name="MaximumRange" value1="5.0"></param>
<param name="AttackAction"></param>
<param name="ChargeAction"></param>
<param name="SingleUse"></param>
<param name="Rate" type="LogicalTypePerseusCanStone" value1="1.0"></param>
</action>
</unit>
页:
[1]