diff options
Diffstat (limited to 'monsters.xml')
-rw-r--r-- | monsters.xml | 126 |
1 files changed, 80 insertions, 46 deletions
diff --git a/monsters.xml b/monsters.xml index 1a5d8213..ca92bbea 100644 --- a/monsters.xml +++ b/monsters.xml @@ -1,4 +1,38 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- Copyright 2009 The Mana World Development Team +monsters.xml parameters explanation: +This file is used to describe th monsters the players will see all around the world. +It can be used by both client and server, but some parameters are specific. + +id [integer]: It is the id of the monster. This parameter has to be unique for each monster. + The system will use the monster id to refer on it in many ways. +name [string]: Tells the monster name. (Used to ease configuration ease on server.) + but displayed to players on the client side. +sprite [xml file]: Tells the xml file used to display the monster sprites. (Client only). +sound <TAG>: This tag is used by the client to know which sound to play at what event. + event [string]: Tells the event at which the cotrresponding sound should be played. ('die', 'miss', 'hit', 'strike' are some examples.) + <INNER>[string]: The ogg file to be played +drop <TAG>: Tells what kind of item the monster can drop. See items.xml to get the id correspondance. + item [integer]: Tells the drop item Id. + percent[float]: Tells the chance (8.0 = 8%) to see the drop after monster's death. +attributes <TAG>: Tells all the monsters attribute. These attribute, as for items, should not be left + in players hands. + hp [integer]: The monster hit points. + size[integer]: The monster maximal amplitude in pixels. Used to compute player's hit area. + speed[float]: The monster's speed in tiles per second. + (A tile is the smallest square map unit: by default, a tile is 32 pixel long.) + attack-min[integer]: The minimal attack strength of the monster. If your hasn't got any armor, + there are the minimal hit points he will lose when hit by the monster. + attack-delta[integer]: The amplitude between minimal and maximal damages the monster can do. + attack-magic[integer]: The magical attacks are removing hp when hit but are computed against magical defense instead. + mutation[integer]: The mutation indicates the amplitude in percent where attributes get modified with. + For instance, with a mutation of 50, each attribute can be altered to become 100% to 149% of what they are. +vulnerability<TAG>: Tells the monster specific vulnerability to an element. + element[string]: Tells to which element the weakness is. ('fire', 'earth', 'ice', 'metal' are some examples.) + factor[float]: Tells the defense against an element is reduced in percent. (A value of 0.7 indcates that the defense is lowered by 30%). +exp<TAG>: Tells how much experience point a monster is giving upon victory. +--> + <monsters> <monster id="0" name="Maggot" targetCursor="small"> @@ -16,7 +50,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -64,7 +98,7 @@ <attributes hp="20" size="8" - speed="192" + speed="6.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -121,7 +155,7 @@ <attributes hp="20" size="8" - speed="192" + speed="6.0" attack-min="20" attack-delta="10" attack-magic="0" @@ -165,7 +199,7 @@ <attributes hp="200" size="4" - speed="32" + speed="1.0" attack-min="2" attack-delta="10" attack-magic="0" @@ -201,7 +235,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -224,7 +258,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -250,7 +284,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -275,7 +309,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -292,7 +326,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -319,7 +353,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -359,7 +393,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -381,7 +415,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -408,7 +442,7 @@ <attributes hp="2000" size="8" - speed="0" + speed="0.0" attack-min="0" attack-delta="0" attack-magic="0" @@ -438,7 +472,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -462,7 +496,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -487,7 +521,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -507,7 +541,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -529,7 +563,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -554,7 +588,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -574,7 +608,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -591,7 +625,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -610,7 +644,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -629,7 +663,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -652,7 +686,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -669,7 +703,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -691,7 +725,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -708,7 +742,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -725,7 +759,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -742,7 +776,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -759,7 +793,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -776,7 +810,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -794,7 +828,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -811,7 +845,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -828,7 +862,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -851,7 +885,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -868,7 +902,7 @@ <attributes hp="1" size="4" - speed="0" + speed="0.0" attack-min="0" attack-delta="0" attack-magic="0" @@ -889,7 +923,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -910,7 +944,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -940,7 +974,7 @@ <attributes hp="20" size="8" - speed="192" + speed="6.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -974,7 +1008,7 @@ <attributes hp="220" size="8" - speed="42" + speed="1.3" attack-min="40" attack-delta="20" attack-magic="0" @@ -1010,7 +1044,7 @@ <attributes hp="20" size="8" - speed="192" + speed="6.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -1044,7 +1078,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -1074,7 +1108,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -1106,7 +1140,7 @@ <attributes hp="20" size="4" - speed="64" + speed="2.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -1138,7 +1172,7 @@ <attributes hp="20" size="8" - speed="192" + speed="6.0" attack-min="10" attack-delta="2" attack-magic="0" @@ -1170,7 +1204,7 @@ <attributes hp="20" size="4" - speed="32" + speed="1.0" attack-min="10" attack-delta="2" attack-magic="0" |