This commit is contained in:
parent
ea7e7d044d
commit
37b479de89
2 changed files with 9 additions and 1 deletions
|
@ -35,6 +35,10 @@
|
||||||
#include "player\player.h"
|
#include "player\player.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "fx\fx.h"
|
||||||
|
#include "fx\fxjfish.h"
|
||||||
|
|
||||||
|
|
||||||
#define MJ_CYCLE_WIDTH 400
|
#define MJ_CYCLE_WIDTH 400
|
||||||
#define MJ_HALF_CYCLE_WIDTH ( MJ_CYCLE_WIDTH >> 1 )
|
#define MJ_HALF_CYCLE_WIDTH ( MJ_CYCLE_WIDTH >> 1 )
|
||||||
|
|
||||||
|
@ -50,6 +54,9 @@ void CNpcMotherJellyfishEnemy::postInit()
|
||||||
{
|
{
|
||||||
m_health = CLevel::getBossHealth();
|
m_health = CLevel::getBossHealth();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CFXJellyFishLegs *T=(CFXJellyFishLegs*)CFX::Create(CFX::FX_TYPE_JELLYFISH_LEGS,this);
|
||||||
|
T->SetUp(128,4,8,16);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -478,7 +478,8 @@ void CNpcPlatform::postInit()
|
||||||
|
|
||||||
if ( m_type == NPC_LINEAR_PLATFORM )
|
if ( m_type == NPC_LINEAR_PLATFORM )
|
||||||
{
|
{
|
||||||
if ( CLevel::getCurrentChapter() != 5 && CLevel::getCurrentChapterLevel() != 4 )
|
if ( ( CLevel::getCurrentChapter() != 5 && CLevel::getCurrentChapterLevel() != 4 ) &&
|
||||||
|
( CLevel::getCurrentChapter() != 6 && CLevel::getCurrentChapterLevel() != 1 ) )
|
||||||
{
|
{
|
||||||
CFXJellyFishLegs *T=(CFXJellyFishLegs*)CFX::Create(CFX::FX_TYPE_JELLYFISH_LEGS,this);
|
CFXJellyFishLegs *T=(CFXJellyFishLegs*)CFX::Create(CFX::FX_TYPE_JELLYFISH_LEGS,this);
|
||||||
T->SetUp(64,4,8,8);
|
T->SetUp(64,4,8,8);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue