DragonNest/GameCommon/DnInvincibleTypeBlow.cpp

50 lines
1.1 KiB
C++
Raw Permalink Normal View History

#include "StdAfx.h"
#include "DnInvincibleTypeBlow.h"
#if !defined( USE_BOOST_MEMPOOL )
#ifdef _DEBUG
#define new new(_NORMAL_BLOCK,__FILE__,__LINE__)
#endif
#endif // #if !defined( USE_BOOST_MEMPOOL )
CDnInvincibleTypeBlow::CDnInvincibleTypeBlow( DnActorHandle hActor, const char* szValue ) : CDnBlow( hActor )
{
m_StateBlow.emBlowIndex = STATE_BLOW::BLOW_239;
SetValue( szValue );
m_fValue = 0.0f;
m_nInvinvibleType = atoi(szValue);
}
CDnInvincibleTypeBlow::~CDnInvincibleTypeBlow(void)
{
}
void CDnInvincibleTypeBlow::OnBegin( LOCAL_TIME LocalTime, float fDelta )
{
OutputDebug( "%s\n", __FUNCTION__);
}
void CDnInvincibleTypeBlow::OnEnd( LOCAL_TIME LocalTime, float fDelta )
{
OutputDebug( "%s\n", __FUNCTION__);
}
#if defined(PRE_ADD_PREFIX_SYSTE_RENEW)
void CDnInvincibleTypeBlow::AddStateEffectValue(const char* szOrigValue, const char* szAddValue, std::string& szNewValue)
{
char szBuff[128] = {0, };
szNewValue = szOrigValue;
}
void CDnInvincibleTypeBlow::RemoveStateEffectValue(const char* szOrigValue, const char* szAddValue, std::string& szNewValue)
{
char szBuff[128] = {0, };
szNewValue = szOrigValue;
}
#endif // PRE_ADD_PREFIX_SYSTE_RENEW