Attributes.xml

Aus Invertika Wiki
Wechseln zu: Navigation, Suche

Die attributes.xml setzt die Attribute der Spieler, Monster und anderer Bewohner der Spielwelt. Die Attribute sind dabei hardcoded im Gameserver enthalten. Die Datei dient dazu diese Werte anzupassen. Exemplarisch sei eine solche Datei dargestellt:

<?xml version="1.0" encoding="utf-8"?>
<attributes>
   <points start="100" minimum="1" maximum="20" />
   <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." /> 
   </attribute>
</attributes>

Weblinks

Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Projekt
Werkzeuge