diff options
author | alexichi <alexbankai96@gmail.com> | 2016-05-09 20:26:51 +0200 |
---|---|---|
committer | alexichi <alexbankai96@gmail.com> | 2016-05-09 20:26:51 +0200 |
commit | 2f32bc3153b7f2c2561e4603f912573921e6449f (patch) | |
tree | 87419a11e12f5b7433459fcb5cb9da5211dcbd9e /data | |
parent | f1677164c3f46785f6d9380b68cdeba58a680404 (diff) | |
download | candybox-2f32bc3153b7f2c2561e4603f912573921e6449f.tar.gz candybox-2f32bc3153b7f2c2561e4603f912573921e6449f.tar.bz2 candybox-2f32bc3153b7f2c2561e4603f912573921e6449f.tar.xz candybox-2f32bc3153b7f2c2561e4603f912573921e6449f.zip |
add the use of the objects and the feature power and maxHP
Diffstat (limited to 'data')
-rw-r--r-- | data/items.xml | 9 | ||||
-rw-r--r-- | data/monsters.xml | 33 |
2 files changed, 27 insertions, 15 deletions
diff --git a/data/items.xml b/data/items.xml index 9489b1a..4448b1c 100644 --- a/data/items.xml +++ b/data/items.xml @@ -5,7 +5,8 @@ <name>Wooden Sword</name> <cost>10</cost> <features> - <power>10</power> + <power>+1</power> + <limit>1</limit> </features> <icon>⚔</icon> <description>A sword that beginners need to use to improve their skills</description> @@ -14,7 +15,8 @@ <name>Metal Sword</name> <cost>15</cost> <features> - <power>30</power> + <power>+3</power> + <limit>1</limit> </features> <icon>⚔</icon> <description>A sword which are often use buy skilled knight. The material is very good and the sword is very powerful</description> @@ -34,7 +36,8 @@ <name>Strength Bottle</name> <cost>10</cost> <features> - <power>20</power> + <power>+2</power> + <limit>3</limit> </features> <icon>🍶</icon> <description>If used, you have 20% more chance to hit your enemy during the battle</description> diff --git a/data/monsters.xml b/data/monsters.xml index ab29364..a8dc2f7 100644 --- a/data/monsters.xml +++ b/data/monsters.xml @@ -6,21 +6,24 @@ <level>1</level> <hp>3</hp> <xp>1</xp> - <icon>m</icon> + <power>1</power> + <icon>👾</icon> </monster> <monster > <name>monster2</name> <level>2</level> <hp>3</hp> <xp>2</xp> - <icon>m</icon> + <power>2</power> + <icon>👾</icon> </monster> <monster> <name>monster3</name> <level>3</level> <hp>4</hp> <xp>3</xp> - <icon>m</icon> + <power>3</power> + <icon>👾</icon> </monster> </floor> <floor name="floor2"> @@ -29,44 +32,50 @@ <level>4</level> <hp>5</hp> <xp>4</xp> - <icon>m</icon> + <power>4</power> + <icon>👾</icon> </monster> <monster> <name>monster5</name> <level>5</level> <hp>6</hp> <xp>5</xp> - <icon>m</icon> + <power>5</power> + <icon>👾</icon> </monster> <monster> - <name>monster5</name> + <name>monster6</name> <level>6</level> <hp>7</hp> <xp>6</xp> - <icon>m</icon> + <power>6</power> + <icon>👾</icon> </monster> </floor> <floor name="floor3"> <monster> - <name>monster6</name> + <name>monster7</name> <level>8</level> <hp>9</hp> <xp>8</xp> - <icon>m</icon> + <power>8</power> + <icon>👾</icon> </monster> <monster> - <name>monster7</name> + <name>monster8</name> <level>9</level> <hp>10</hp> <xp>9</xp> - <icon>m</icon> + <power>9</power> + <icon>👾</icon> </monster> <monster> <name>Boss</name> <level>10</level> <hp>12</hp> <xp>10</xp> - <icon>m</icon> + <power>14</power> + <icon>👾</icon> </monster> </floor> </dungeon> |