diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-08-31 21:42:05 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-08-31 21:42:05 +0200 |
commit | 831211766b4720706b51d78aefe031899181e838 (patch) | |
tree | 7ea04fc0e54cc13e823386ac203271f601891270 | |
parent | fa368a267faa6d82b76fd7e20bb1860c403db6d2 (diff) | |
download | clientdata-831211766b4720706b51d78aefe031899181e838.tar.gz clientdata-831211766b4720706b51d78aefe031899181e838.tar.bz2 clientdata-831211766b4720706b51d78aefe031899181e838.tar.xz clientdata-831211766b4720706b51d78aefe031899181e838.zip |
Upgraded the attributes.xml file to something meant to work.
-rw-r--r-- | attributes.xml | 120 |
1 files changed, 82 insertions, 38 deletions
diff --git a/attributes.xml b/attributes.xml index 6f5975cb..e1291e0c 100644 --- a/attributes.xml +++ b/attributes.xml @@ -1,38 +1,82 @@ -<?xml version="1.0" encoding="utf-8"?> -<stats> - <stat id="16" name="Strength" - tag="str" - effect="Strength %+d" - desc="" - modifiable="true" /> - - <stat id="17" name="Agility" - tag="agi" - effect="Agility %+d" - desc="" - modifiable="true" /> - - <stat id="18" name="Dexterity" - tag="dex" - effect="Dexterity %+d" - desc="" - modifiable="true" /> - - <stat id="19" name="Vitality" - tag="vit" - effect="Vitality %+d" - desc="" - modifiable="true" /> - - <stat id="20" name="Intelligence" - tag="int" - effect="Intelligence %+d" - desc="" - modifiable="true" /> - - <stat id="21" name="WillPower" - tag="will" - effect="Willpower %+d" - desc="" - modifiable="true" /> -</stats> +<?xml version="1.0" encoding="utf-8"?>
+
+<attributes>
+ <!-- Character starting points definition -->
+ <points start="100" minimum="1" maximum="20" />
+
+ <!-- First Candidate for TMW attributes definitions -->
+ <!-- The id are linked to the engine core. Do not change them. -->
+ <attribute id="1" name="Strength" desc="Increases carrying capacity and increases damage for many melee weapons." modifiable="true" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="str" effect="Strength %+.1f" />
+ </attribute>
+ <attribute id="2" name="Agility" desc="Increases attack speed, conventional dodge, and also slightly increases movement speed." modifiable="true" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="agi" effect="Agility %+.1f" />
+ </attribute>
+ <attribute id="3" name="Vitality" desc="Increases the maximum number of hitpoints, defence, and also slightly increase hitpoint regeneration." modifiable="true" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="vit" effect="Vitality %+.1f" />
+ </attribute>
+ <attribute id="4" name="Intelligence" desc="FIXME" modifiable="true" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="int" effect="Intelligence %+.1f" />
+ </attribute>
+ <attribute id="5" name="Dexterity" desc="Increases conventional accuracy, decreases the proportion of warmup time to cooldown time for conventional attacks and increases the damage for many ranged weapons." modifiable="true" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="dex" effect="Dexterity %+.1f" />
+ </attribute>
+ <attribute id="6" name="Willpower" desc="Increases magical dodge and decreases the proportion of warmup time to cooldown time for magical attacks." modifiable="true" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="wil" effect="Willpower %+.1f" />
+ </attribute>
+ <attribute id="7" name="Accuracy" desc="Increases the chance of outgoing physical attacks hitting their target." modifiable="false" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="acc1" effect="Accuracy %+.1f" />
+ <modifier stacktype="stackable" modtype="multiplicative" tag="acc2" />
+ </attribute>
+ <attribute id="8" name="Defense" desc="Reduces incoming conventional damage." modifiable="false" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="def1" effect="Defense %+.1f" />
+ <modifier stacktype="non stackable bonus" modtype="multiplicative" tag="def2" effect="Defense x%.3f" additional="This modifier does not stack with other ##1Greater##0 defensive type effects." />
+ </attribute>
+ <attribute id="9" name="Dodge" desc="Decreases the chance of incoming physical attacks hitting you." modifiable="false" scope="being">
+ <modifier stacktype="non stackable bonus" modtype="additive" tag="dge" effect="Dodge %+.2f. This modifier does not stack with other dodge modifiers. "/>
+ </attribute>
+ <attribute id="10" name="Magical dodge" desc="Decreases the chance of incoming magical attacks hitting you." modifiable="false" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="mdge" effect="Magical dodge %+.2f"/>
+ </attribute>
+ <attribute id="11" name="Magical defense" desc="Reduces incoming magical damage." modifiable="false" scope="being">
+ <modifier stacktype="non stackable bonus" modtype="additive" tag="mdef" effect="Magical defense %+.1f" additional="This modifier does not stack with other ##1Magical defense##0 modifiers." /> <!-- should this be non stackable instead of non stackable bonus? -->
+ </attribute>
+ <attribute id="12" name="Bonus attack speed" tag="aspd" effect="Bonus attack speed %+f" desc="Increases the attack speed of all active auto-attacks." modifiable="false" scope="being">
+ <modifier stacktype="non stackable" modtype="additive" tag="aspd1" />
+ <modifier stacktype="stackable" modtype="multiplicative" tag="aspd2" />
+ <modifier stacktype="stackable" modtype="additive" tag="aspd3" />
+ <modifier stacktype="non stackable bonus" modtype="multiplicative" tag="aspd4" />
+ </attribute>
+ <attribute id="13" name="Hitpoints" desc="The number of hitpoints this being has. When this drops below 0, the being dies." modifiable="false" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="hp" effect="Hitpoints %+.1f" additional="The modifier will still be removed normally, increasing or decreasing hp as relevant." /> <!-- Not a typo. I really am allowing modifiers to be applied here. Most normal attacks will affect the base value, but interesting things happen when either bonus of malus effects here expire... :] -->
+ </attribute>
+ <attribute id="14" name="Max hitpoints" desc="The maximum number of hitpoints this being can have." modifiable="false" scope="being">
+ <modifier stacktype="stackable" modtype="additive" tag="mhp1" effect="Max hp %+.1f" />
+ <modifier stacktype="non stackable bonus" modtype="multiplicative" tag="mhp2" effect="Max hp x%.3f" additional="This modifier does not stack with other ##1Lesser##0 max hp type effects." />
+ <modifier stacktype="non stackable bonus" modtype="additive" tag="mhp3" effect="Max hp %+.1f" additional="This modifier does not stack with other ##1Greater##0 max hp type effects." />
+ <modifier stacktype="non stackable bonus" modtype="multiplicative" tag="mhp4" effect="Max hp x%.3f" additional="This modifier does not stack with other ##1Major##0 max hp type effects." />
+ </attribute>
+ <attribute id="15" name="Hitpoint regeneration" tag="hpregen" effect="hp regen %+f" desc="The rate at which hitpoints are automatically replenished." modifiable="false" scope="being">
+ <modifier stacktype="non stackable bonus" modtype="multiplicative" tag="hpr1" effect="You shouldn't be seeing this. Items shouldn't be affecting this layer." /> <!-- Reserved for map effects -->
+ <modifier stacktype="non stackable bonus" modtype="multiplicative" tag="hpr2" effect="Hitpoint regeneration x%.3f" additional="This modifier does not stack with other ##1Basic##0 hitpoint regeneration type effects."/> <!-- Reserved for passive item effects -->
+ <modifier stacktype="stackable" modtype="multiplicative" tag="hpr3" effect="Hitpoint regeneration x%.3f" /> <!-- Reserved for active effects -->
+ <modifier stacktype="stackable" modtype="additive" tag="hpr4" effect="Hitpoint regeneration %+.3f" /> <!-- General purpose -->
+ <modifier stacktype="non stackable bonus" modtype="multiplicative" tag="hpr5" effect="Hitpoint regeneration x%.4f" additional="This modifier does not stack with other ##1Greater##0 hitpoint regeneration type effects." /> <!-- For *Very* powerful effects only -->
+ </attribute>
+ <attribute id="16" name="Movement speed" desc="The speed at which this being moves in tiles per second." modifiable="false" scope="being">
+ <modifier stacktype="non stackable bonus" modtype="additive" tag="mspd" effect="Movement speed %+.2f" additional="This modifier does not stack with other ##1Movement speed##0 type effects." />
+ </attribute>
+ <attribute id="17" name="Movement speed (raw)" desc="The raw movement speed of this being." modifiable="false" scope="being" />
+ <attribute id="18" name="gp" desc="The number of gold pieces this being possesses." modifiable="false" scope="character" />
+ <attribute id="19" name="Capacity" desc="The capacity of this character." modifiable="false" scope="character" >
+ <modifier stacktype="stackable" modtype="additive" tag="cap1" effect="Capacity %+.2f" />
+ </attribute>
+ <!-- End of core-attributes definition -->
+
+ <!-- Temporary definitions for monsters until the auto-attack system is finished. -->
+ <attribute id="20" name="physical attack (minimum)" modifiable="false" scope="monster" />
+ <attribute id="21" name="physical attack (delta)" modifiable="false" scope="monster" />
+ <attribute id="22" name="magical attack" modifiable="false" scope="monster" />
+
+ <!-- Stop reading now. :P -->
+</attributes>
|