Difference between revisions of "XML/Techtree"

From MegaGlest
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
         <armor-type name="plate"/>
 
         <armor-type name="plate"/>
 
         <armor-type name="stone"/>
 
         <armor-type name="stone"/>
         <armor-type name="wood"/>
+
         <armor-type name="wood"/>ti
 
         <armor-type name="organic"/>
 
         <armor-type name="organic"/>
 
     </armor-types>
 
     </armor-types>
   
+
     <static-modifiers>   <font color="green">&lt;!--attack vs armor static modifiers (note to Daniel.santos: i noticed you deleted the static modifiers. I'm not sure you are aware that they actually work. I tried them and apparently they work for me. --&gt;</font>
     <static-modifiers>     <font color="green">&lt;!--attack vs armor static modifiers --&gt;</font>
 
 
         <static-modifier attack="arrow" armor="plate" value="-1"/>
 
         <static-modifier attack="arrow" armor="plate" value="-1"/>
        <static-modifier attack="arrow" armor="leather" value="1.2"/>
 
        <static-modifier attack="arrow" armor="stone" value="-2"/>
 
        <static-modifier attack="magic" armor="plate" value="-0.5"/>
 
        <static-modifier attack="magic" armor="stone" value="-1"/>
 
        <static-modifier attack="sword" armor="stone" value="-1"/>
 
 
     </static-modifiers>
 
     </static-modifiers>
 
     <damage-multipliers>    <font color="green">&lt;!--attack vs armor multipliers --&gt;</font>
 
     <damage-multipliers>    <font color="green">&lt;!--attack vs armor multipliers --&gt;</font>
Line 33: Line 27:
 
     </damage-multipliers>
 
     </damage-multipliers>
 
  </tech-tree>
 
  </tech-tree>
 
Back to [[XML_Definitions]]
 

Revision as of 16:38, 6 December 2008

<?xml version="1.0" standalone="no"?>

<tech-tree>
    <description value="experimental tech tree"/>
    <attack-types>          <!--naming types of attacks -->
        <attack-type name="sword"/>
        <attack-type name="arrow"/>
        <attack-type name="magic"/>	
    </attack-types>
    <armor-types>           <!--naming types of armor -->
        <armor-type name="leather"/>
        <armor-type name="plate"/>
        <armor-type name="stone"/>
        <armor-type name="wood"/>ti
        <armor-type name="organic"/>
    </armor-types>
    <static-modifiers>    <!--attack vs armor static modifiers (note to Daniel.santos: i noticed you deleted the static modifiers. I'm not sure you are aware that they actually work. I tried them and apparently they work for me. -->
        <static-modifier attack="arrow" armor="plate" value="-1"/>
    </static-modifiers>
    <damage-multipliers>    <!--attack vs armor multipliers -->
        <damage-multiplier attack="arrow" armor="plate" value="0.5"/>
        <damage-multiplier attack="arrow" armor="leather" value="1.3"/>
        <damage-multiplier attack="arrow" armor="stone" value="0.3"/>
        <damage-multiplier attack="magic" armor="plate" value="0.8"/>
        <damage-multiplier attack="magic" armor="stone" value="0.5"/>
        <damage-multiplier attack="sword" armor="stone" value="0.5"/>	
    </damage-multipliers>
</tech-tree>