Editing XML/Techtree
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | <?xml version="1.0" standalone="no"?> | |
+ | |||
+ | <tech-tree> | ||
+ | <description value="experimental tech tree"/> | ||
+ | <attack-types> <font color="green"><!--naming types of attacks --></font> | ||
+ | <attack-type name="sword"/> | ||
+ | <attack-type name="arrow"/> | ||
+ | <attack-type name="magic"/> | ||
+ | </attack-types> | ||
+ | <armor-types> <font color="green"><!--naming types of armor --></font> | ||
+ | <armor-type name="leather"/> | ||
+ | <armor-type name="plate"/> | ||
+ | <armor-type name="stone"/> | ||
+ | <armor-type name="wood"/> | ||
+ | <armor-type name="organic"/> | ||
+ | </armor-types> | ||
+ | |||
+ | <static-modifiers> <font color="green"><!--attack vs armor static modifiers --></font> | ||
+ | <static-modifier attack="arrow" armor="plate value="-1"/> | ||
+ | </static-modifiers> | ||
− | |||
+ | <damage-multipliers> <font color="green"><!--attack vs armor multipliers --></font> | ||
+ | <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> | ||
− | + | Back to [[XML_Definitions]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[ |