Skip to content

Commit

Permalink
more meaningful Unit data
Browse files Browse the repository at this point in the history
  • Loading branch information
Raven committed Feb 28, 2015
1 parent dcf5471 commit 50e25a8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 24 deletions.
20 changes: 8 additions & 12 deletions Assets/PropertySystem/Resources/UnitBase.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
<?xml version="1.0" encoding="us-ascii"?>
<ArrayOfActivityData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<ActivityData>
<type>GATHER</type>
<durationInSeconds>20</durationInSeconds>
<description>Gather resources.</description>
<reward>RESOURCE</reward>
<rewardAmount>200</rewardAmount>
</ActivityData>

</ArrayOfActivityData>
<?xml version="1.0" encoding="UTF-8"?>
<PropertyClass>
<ParentClass name="none"/>
<Property name="UnitType" type="int16"/>
<Property name="Level" type="int16"/>
<Property name="HP" type="int32"/>
<Property name="MaxHP" type="int32"/>
</PropertyClass>
17 changes: 5 additions & 12 deletions Assets/PropertySystem/Resources/Warlord.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?xml version="1.0" encoding="us-ascii"?>
<ArrayOfActivityData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<ActivityData>
<type>GATHER</type>
<durationInSeconds>20</durationInSeconds>
<description>Gather resources.</description>
<reward>RESOURCE</reward>
<rewardAmount>200</rewardAmount>
</ActivityData>

</ArrayOfActivityData>
<?xml version="1.0" encoding="UTF-8"?>
<PropertyClass>
<ParentClass name="UnitBase"/>
<Property name="PopulationCapacity" type="int16"/>
</PropertyClass>

0 comments on commit 50e25a8

Please sign in to comment.