Changes between Initial Version and Version 1 of XML.Entity.Actions.Heal


Ignore:
Timestamp:
Feb 23, 2008, 4:18:58 AM (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XML.Entity.Actions.Heal

    v1 v1  
     1The Heal Action is used by the Healer unit to regenerate the health of the player's organic units. While the action is applied to a viable damaged target, his hitpoints increase until restored to maximum, while the entity performs his "Heal" animation.
     2
     3Note that as with most actions, multiple entities can be tasked to the same target to speed up the rate of regeneration.
     4
     5'''Example:'''
     6
     7{{{
     8        <Actions>
     9                <Heal>
     10                        <Speed>2.8</Speed>
     11                        <Type>Foot, Mounted</Type>
     12                        <Range>3</Range>
     13                        <Cost>0.2</Cost>
     14                </Heal>
     15        </Actions>
     16}}}
     17
     18'''Example Description:'''
     19 * Entity can heal foot and mounted units within the given range at a rate of 2.8 HP per second. Doing so costs 20% of the target's resource value.
     20
     21= Speed =
     22''BRIEF DESCRIPTION ::'' he rate of hitpoint regeneration, x per second.
     23
     24(Note we could use a negative rate to reduce hitpoints, should someone want to mod a wacky health-leeching effect.)
     25
     26= Type =
     27''BRIEF DESCRIPTION ::'' If the target has an '''Id''' of this type, then the cursor for this action displays and the entity can perform this action on it.
     28
     29= Range =
     30''BRIEF DESCRIPTION ::'' The entity has to be this distance or closer to the target in order to perform the action.
     31
     32= Cost =
     33''BRIEF DESCRIPTION ::'' This attribute handles the resource cost for this action, if any.
     34
     35Each "tick" of this action extracts this percentage of the target's '''Traits.Creation.Cost*''' from all resources from the player's Resource Pool.
     36
     37If the player does not have enough of this resource to pay the cost, the entity cannot perform the action until sufficient resources are acquired.