diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-07-02 20:48:54 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-07-07 21:56:30 +0200 |
commit | 4eedc6fa1367c7e7ce81c8539176d998b8e92641 (patch) | |
tree | ced3bb96fef24b9ef98f808a2c62a69de63b228e /example | |
parent | 68158fffc6d2b28856e7b8f9f11e26131c1f3761 (diff) | |
download | manaserv-4eedc6fa1367c7e7ce81c8539176d998b8e92641.tar.gz manaserv-4eedc6fa1367c7e7ce81c8539176d998b8e92641.tar.bz2 manaserv-4eedc6fa1367c7e7ce81c8539176d998b8e92641.tar.xz manaserv-4eedc6fa1367c7e7ce81c8539176d998b8e92641.zip |
Added Vulnerabilities for monsters
You can now actually use the already used node in the monsters.xml
Monsters can have different vulnerabillities against elements:
<vulnerabillity element="earth" factor="2.0" />
This will double damage of the element earth to this monster.
Diffstat (limited to 'example')
-rw-r--r-- | example/items.xml | 2 | ||||
-rw-r--r-- | example/monsters.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/example/items.xml b/example/items.xml index 3ed6ec9d..a42879b5 100644 --- a/example/items.xml +++ b/example/items.xml @@ -119,7 +119,7 @@ <modifier attribute="acc1" value="1.0" /> <attack skill="102" warmuptime="1" cooldowntime="5" reusetime="1" basedamage="1" deltadamage="10" chancetohit="200" range="320" - element="neutral" type="physical" /> + element="fire" type="physical" /> <attack skill="102" priority="2" warmuptime="100" cooldowntime="10" reusetime="100" basedamage="50" deltadamage="10" chancetohit="200" range="320" element="neutral" type="physical" /> diff --git a/example/monsters.xml b/example/monsters.xml index 5e73e93e..86a0c15a 100644 --- a/example/monsters.xml +++ b/example/monsters.xml @@ -52,7 +52,7 @@ exp<TAG>: Tells how much experience point a monster is giving up magical-defence="0" mutation="50" /> - <vulnerability element="fire" factor="1.5"/> + <vulnerability element="fire" factor="10"/> <vulnerability element="earth" factor="0.7"/> <exp>10</exp> <!-- average stroll- and track range--> |