This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Ticket #4194: prefclasses.diff

File prefclasses.diff, 16.3 KB (added by fatherbushido, 8 years ago)

let ship without pref classes

  • binaries/data/mods/public/simulation/templates/template_structure_civic_civil_centre.xml

     
    2222      <MinRange>10.0</MinRange>
    2323      <ProjectileSpeed>75.0</ProjectileSpeed>
    2424      <PrepareTime>1200</PrepareTime>
    2525      <RepeatTime>2000</RepeatTime>
    2626      <Spread>1.5</Spread>
     27      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    2728    </Ranged>
    2829  </Attack>
    2930  <BuildingAI>
    3031    <DefaultArrowCount>3</DefaultArrowCount>
    3132    <GarrisonArrowMultiplier>1</GarrisonArrowMultiplier>
  • binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee.xml

     
    99      <Hack>13</Hack>
    1010      <Pierce>0</Pierce>
    1111      <Crush>0.0</Crush>
    1212      <MaxRange>6.0</MaxRange>
    1313      <RepeatTime>750</RepeatTime>
    14       <PreferredClasses datatype="tokens">Siege</PreferredClasses>
     14      <PreferredClasses datatype="tokens">Siege Human</PreferredClasses>
    1515    </Melee>
    1616  </Attack>
    1717  <Identity>
    1818    <VisibleClasses datatype="tokens">Melee</VisibleClasses>
    1919    <GenericName>Melee Cavalry</GenericName>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_javelinist.xml

     
    99      <MinRange>0.0</MinRange>
    1010      <ProjectileSpeed>75.0</ProjectileSpeed>
    1111      <PrepareTime>1250</PrepareTime>
    1212      <RepeatTime>1250</RepeatTime>
    1313      <Spread>1.5</Spread>
     14      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    1415    </Ranged>
    1516  </Attack>
    1617  <Cost>
    1718    <Resources>
    1819      <wood>100</wood>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_spearman.xml

     
    99      <Hack>12.0</Hack>
    1010      <Pierce>26.0</Pierce>
    1111      <Crush>0.0</Crush>
    1212      <MaxRange>5.0</MaxRange>
    1313      <RepeatTime>3500</RepeatTime>
     14      <PreferredClasses datatype="tokens">Siege Human</PreferredClasses>
    1415    </Melee>
    1516  </Attack>
    1617  <Cost>
    1718    <Resources>
    1819      <wood>100</wood>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_swordsman.xml

     
    99      <Hack>13.0</Hack>
    1010      <Pierce>0</Pierce>
    1111      <Crush>0.0</Crush>
    1212      <MaxRange>6.0</MaxRange>
    1313      <RepeatTime>750</RepeatTime>
    14       <PreferredClasses datatype="tokens">Siege</PreferredClasses>
     14      <PreferredClasses datatype="tokens">Siege Human</PreferredClasses>
    1515    </Melee>
    1616  </Attack>
    1717  <Cost>
    1818    <Resources>
    1919      <wood>75</wood>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_elephant_melee.xml

     
    55      <Hack>20</Hack>
    66      <Pierce>0</Pierce>
    77      <Crush>150.0</Crush>
    88      <MaxRange>8.0</MaxRange>
    99      <RepeatTime>1500</RepeatTime>
     10      <PreferredClasses datatype="tokens">Structure</PreferredClasses>
    1011    </Melee>
    1112  </Attack>
    1213  <Identity>
    1314    <VisibleClasses datatype="tokens">Melee</VisibleClasses>
    1415  </Identity>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_pikeman.xml

     
    1616          <BonusCavMelee>
    1717            <Classes>Cavalry</Classes>
    1818            <Multiplier>3.0</Multiplier>
    1919          </BonusCavMelee>
    2020      </Bonuses>
     21      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    2122    </Melee>
    2223  </Attack>
    2324  <Cost>
    2425    <Resources>
    2526      <wood>100</wood>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_spearman.xml

     
    1515          <BonusCavMelee>
    1616            <Classes>Cavalry</Classes>
    1717            <Multiplier>3.0</Multiplier>
    1818          </BonusCavMelee>
    1919      </Bonuses>
     20      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    2021    </Melee>
    2122  </Attack>
    2223  <Cost>
    2324    <Resources>
    2425      <wood>100</wood>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_swordsman.xml

     
    99      <Hack>11.0</Hack>
    1010      <Pierce>0</Pierce>
    1111      <Crush>0.0</Crush>
    1212      <MaxRange>5.0</MaxRange>
    1313      <RepeatTime>750</RepeatTime>
     14      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    1415    </Melee>
    1516  </Attack>
    1617  <Cost>
    1718    <Resources>
    1819      <wood>75</wood>
  • binaries/data/mods/public/simulation/templates/template_unit_hero.xml

     
    33  <Armour>
    44    <Hack>10.0</Hack>
    55    <Pierce>20.0</Pierce>
    66    <Crush>15.0</Crush>
    77  </Armour>
    8   <Attack> 
     8  <Attack>
    99    <Capture>
    10       <Value>15</Value> 
    11       <MaxRange>4</MaxRange> 
    12       <RepeatTime>1000</RepeatTime> 
     10      <Value>15</Value>
     11      <MaxRange>4</MaxRange>
     12      <RepeatTime>1000</RepeatTime>
    1313    </Capture>
    1414  </Attack>
    1515  <Auras datatype="tokens">hero_garrison</Auras>
    1616  <Cost>
    1717    <Population>2</Population>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_archer.xml

     
    99      <MinRange>20.0</MinRange>
    1010      <ProjectileSpeed>75.0</ProjectileSpeed>
    1111      <PrepareTime>1200</PrepareTime>
    1212      <RepeatTime>2000</RepeatTime>
    1313      <Spread>1.5</Spread>
     14      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    1415    </Ranged>
    1516  </Attack>
    1617  <Cost>
    1718    <BuildTime>45</BuildTime>
    1819    <Resources>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_javelinist.xml

     
    99      <MinRange>0.0</MinRange>
    1010      <ProjectileSpeed>80.0</ProjectileSpeed>
    1111      <PrepareTime>1250</PrepareTime>
    1212      <RepeatTime>1250</RepeatTime>
    1313      <Spread>1.3</Spread>
     14      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    1415    </Ranged>
    1516  </Attack>
    1617  <Cost>
    1718    <BuildTime>45</BuildTime>
    1819    <Resources>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_spearman.xml

     
    99      <Hack>24.0</Hack>
    1010      <Pierce>52.0</Pierce>
    1111      <Crush>0.0</Crush>
    1212      <MaxRange>6.0</MaxRange>
    1313      <RepeatTime>3500</RepeatTime>
    14       <PreferredClasses datatype="tokens">Human Siege</PreferredClasses>
     14      <PreferredClasses datatype="tokens">Siege Human</PreferredClasses>
    1515    </Melee>
    1616  </Attack>
    1717  <Identity>
    1818    <VisibleClasses datatype="tokens">Melee Spear</VisibleClasses>
    1919    <GenericName>Hero Cavalry Spearman</GenericName>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_swordsman.xml

     
    99     <Hack>26.0</Hack>
    1010     <Pierce>0.0</Pierce>
    1111     <Crush>0.0</Crush>
    1212     <MaxRange>6.0</MaxRange>
    1313     <RepeatTime>1000</RepeatTime>
    14       <PreferredClasses datatype="tokens">Human Siege</PreferredClasses>
     14     <PreferredClasses datatype="tokens">Siege Human</PreferredClasses>
    1515    </Melee>
    1616  </Attack>
    1717  <Identity>
    1818    <VisibleClasses datatype="tokens">Melee Sword</VisibleClasses>
    1919    <GenericName>Hero Cavalry Swordsman</GenericName>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_elephant_melee.xml

     
    2424        <BonusGates>
    2525          <Classes>Gates</Classes>
    2626          <Multiplier>1.5</Multiplier>
    2727        </BonusGates>
    2828      </Bonuses>
     29      <PreferredClasses datatype="tokens">Structure</PreferredClasses>
    2930    </Melee>
    3031  </Attack>
    3132  <Cost>
    3233    <Population>3</Population>
    3334    <BuildTime>60</BuildTime>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_archer.xml

     
    99      <MinRange>0.0</MinRange>
    1010      <ProjectileSpeed>75.0</ProjectileSpeed>
    1111      <PrepareTime>300</PrepareTime>
    1212      <RepeatTime>300</RepeatTime>
    1313      <Spread>1.0</Spread>
     14      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    1415    </Ranged>
    1516  </Attack>
    1617  <Cost>
    1718    <BuildTime>35</BuildTime>
    1819    <Resources>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_javelinist.xml

     
    99      <MinRange>0.0</MinRange>
    1010      <ProjectileSpeed>50.0</ProjectileSpeed>
    1111      <PrepareTime>1000</PrepareTime>
    1212      <RepeatTime>1000</RepeatTime>
    1313      <Spread>1.0</Spread>
     14      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    1415    </Ranged>
    1516  </Attack>
    1617  <Cost>
    1718    <BuildTime>35</BuildTime>
    1819    <Resources>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_pikeman.xml

     
    1616        <BonusCavMelee>
    1717          <Classes>Cavalry</Classes>
    1818          <Multiplier>3.0</Multiplier>
    1919        </BonusCavMelee>
    2020      </Bonuses>
     21      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    2122    </Melee>
    2223  </Attack>
    2324  <Identity>
    2425    <VisibleClasses datatype="tokens">Melee Spear Pike</VisibleClasses>
    2526    <GenericName>Hero Pikeman</GenericName>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_spearman.xml

     
    1515        <BonusCavMelee>
    1616          <Classes>Cavalry</Classes>
    1717          <Multiplier>3.0</Multiplier>
    1818        </BonusCavMelee>
    1919      </Bonuses>
     20      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    2021    </Melee>
    2122  </Attack>
    2223  <Identity>
    2324    <VisibleClasses datatype="tokens">Melee Spear</VisibleClasses>
    2425    <GenericName>Hero Spearman</GenericName>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_swordsman.xml

     
    99      <Hack>22.0</Hack>
    1010      <Pierce>0</Pierce>
    1111      <Crush>0.0</Crush>
    1212      <MaxRange>5.0</MaxRange>
    1313      <RepeatTime>1000</RepeatTime>
     14      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    1415    </Melee>
    1516  </Attack>
    1617  <Identity>
    1718    <VisibleClasses datatype="tokens">Melee Sword</VisibleClasses>
    1819    <GenericName>Hero Swordsman</GenericName>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_siege_ballista.xml

     
    1414      <MinRange>8.0</MinRange>
    1515      <Spread>2.5</Spread>
    1616      <ProjectileSpeed>300.0</ProjectileSpeed>
    1717      <PrepareTime>5000</PrepareTime>
    1818      <RepeatTime>5000</RepeatTime>
     19      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    1920    </Ranged>
    2021  </Attack>
    2122  <Capturable>
    2223    <RegenRate>20</RegenRate>
    2324  </Capturable>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_siege_onager.xml

     
    2222        <FriendlyFire>false</FriendlyFire>
    2323        <Hack>0.0</Hack>
    2424        <Pierce>15.0</Pierce>
    2525        <Crush>35.0</Crush>
    2626      </Splash>
     27      <PreferredClasses datatype="tokens">Structure</PreferredClasses>
    2728    </Ranged>
    2829  </Attack>
    2930  <Capturable>
    3031    <RegenRate>20</RegenRate>
    3132  </Capturable>