This commit is contained in:
parent
23eb3b6f29
commit
ed08839edd
@ -778,9 +778,9 @@ void CNpcMotherJellyfishEnemy::processShot( int _frames )
|
||||
{
|
||||
case NPC_GENERIC_HIT_CHECK_HEALTH:
|
||||
{
|
||||
if ( m_health > 5 )
|
||||
if ( m_health > 3 )
|
||||
{
|
||||
m_health -= 5;
|
||||
m_health -= 3;
|
||||
|
||||
m_renderScale = 2048 + ( ( ( 4096 - 2048 ) * m_health ) / m_data[m_type].initHealth );
|
||||
m_speed = m_data[m_type].speed + ( ( 2 * ( m_data[m_type].initHealth - m_health ) ) / m_data[m_type].initHealth );
|
||||
|
@ -1230,7 +1230,7 @@ void CNpcEnemy::processShot( int _frames )
|
||||
{
|
||||
case NPC_GENERIC_HIT_CHECK_HEALTH:
|
||||
{
|
||||
m_health -= 5;
|
||||
m_health -= 3;
|
||||
|
||||
if ( m_health <= 0 )
|
||||
{
|
||||
|
@ -801,7 +801,7 @@ CNpcEnemy::NPC_DATA CNpcEnemy::m_data[NPC_UNIT_TYPE_MAX] =
|
||||
256,
|
||||
DETECT_ALL_COLLISION,
|
||||
DAMAGE__SHOCK_ENEMY,
|
||||
50,
|
||||
30,
|
||||
0,
|
||||
NPC_SHOT_GENERIC,
|
||||
0,
|
||||
@ -827,7 +827,7 @@ CNpcEnemy::NPC_DATA CNpcEnemy::m_data[NPC_UNIT_TYPE_MAX] =
|
||||
2048,
|
||||
DETECT_ALL_COLLISION,
|
||||
DAMAGE__HIT_ENEMY,
|
||||
50,
|
||||
30,
|
||||
0,
|
||||
NPC_SHOT_GENERIC,
|
||||
ANIM_SHARKSUB_DEATH,
|
||||
@ -879,7 +879,7 @@ CNpcEnemy::NPC_DATA CNpcEnemy::m_data[NPC_UNIT_TYPE_MAX] =
|
||||
2048,
|
||||
DETECT_ALL_COLLISION,
|
||||
DAMAGE__HIT_ENEMY,
|
||||
50,
|
||||
30,
|
||||
ANIM_FLYINGDUTCHMAN_FLY,
|
||||
NPC_SHOT_GENERIC,
|
||||
ANIM_FLYINGDUTCHMAN_DEATH,
|
||||
@ -906,7 +906,7 @@ CNpcEnemy::NPC_DATA CNpcEnemy::m_data[NPC_UNIT_TYPE_MAX] =
|
||||
//DETECT_ALL_COLLISION,
|
||||
DETECT_ATTACK_COLLISION_GENERIC,
|
||||
DAMAGE__HIT_ENEMY,
|
||||
50,
|
||||
30,
|
||||
ANIM_IRONDOGFISH_WALK,
|
||||
NPC_SHOT_GENERIC,
|
||||
ANIM_IRONDOGFISH_DIE,
|
||||
|
@ -678,7 +678,7 @@ void CNpcSubSharkEnemy::processShot( int _frames )
|
||||
{
|
||||
case NPC_GENERIC_HIT_CHECK_HEALTH:
|
||||
{
|
||||
m_health -= 5;
|
||||
m_health -= 3;
|
||||
|
||||
if ( m_health <= 0 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user