Added heal
This was SVN commit r3221.
This commit is contained in:
parent
2358540305
commit
4f6dafd82a
@ -23,6 +23,9 @@ CBaseEntity::CBaseEntity()
|
||||
AddProperty( L"actions.gather.range", &( m_gather.m_MaxRange ) );
|
||||
AddProperty( L"actions.gather.rangemin", &( m_gather.m_MinRange ) );
|
||||
AddProperty( L"actions.gather.speed", &( m_gather.m_Speed ) );
|
||||
AddProperty( L"actions.heal.range", &( m_heal.m_MaxRange ) );
|
||||
AddProperty( L"actions.heal.rangemin", &( m_heal.m_MinRange ) );
|
||||
AddProperty( L"actions.heal.speed", &( m_heal.m_Speed ) );
|
||||
AddProperty( L"actor", &m_actorName );
|
||||
AddProperty( L"traits.extant", &m_extant );
|
||||
AddProperty( L"traits.corpse", &m_corpse );
|
||||
|
@ -77,6 +77,7 @@ public:
|
||||
float m_speed;
|
||||
SEntityAction m_melee;
|
||||
SEntityAction m_gather;
|
||||
SEntityAction m_heal;
|
||||
|
||||
float m_turningRadius;
|
||||
CScriptObject m_EventHandlers[EVENT_LAST];
|
||||
|
@ -264,6 +264,9 @@ uint CSimulation::TranslateMessage(CNetMessage* pMsg, uint clientMask, void* UNU
|
||||
case NMT_Gather:
|
||||
ENTITY_ENTITY(CGather, ORDER_GATHER);
|
||||
break;
|
||||
case NMT_Heal:
|
||||
ENTITY_ENTITY(CHeal, ORDER_HEAL);
|
||||
break;
|
||||
}
|
||||
|
||||
return clientMask;
|
||||
|
Loading…
Reference in New Issue
Block a user