Sorry for the topic I want to close****
I want to close an Angel item without having to do quests.
After I deleted the code
#ifdef __PKSERVER_USE_ANGEL
if( pItemProp->dwItemKind3 == IK3_ANGEL_BUFF )
{
if(g_eLocal.GetState( EVE_PK ))
{
if( 0 >= GetPKValue() )
nResult = 2;
if( GetQuest( QUEST_PKMINUS ) == NULL )
nResult = 3;
if( m_Inventory.GetAtItemId( II_SYS_SYS_QUE_ANGEL_RED100 ) != NULL
|| m_Inventory.GetAtItemId( II_SYS_SYS_QUE_ANGEL_BLUE100 ) != NULL
|| m_Inventory.GetAtItemId( II_SYS_SYS_QUE_ANGEL_GREEN100 ) != NULL
|| m_Inventory.GetAtItemId( II_SYS_SYS_QUE_ANGEL_WHITE100 ) != NULL
)
nResult = 4;
}
else
nResult = 5;
}
to
#ifdef __PKSERVER_USE_ANGEL
if( pItemProp->dwItemKind3 == IK3_ANGEL_BUFF )
{
if(g_eLocal.GetState( EVE_PK ))
{
if( m_Inventory.GetAtItemId( II_SYS_SYS_QUE_ANGEL_RED100 ) != NULL
|| m_Inventory.GetAtItemId( II_SYS_SYS_QUE_ANGEL_BLUE100 ) != NULL
|| m_Inventory.GetAtItemId( II_SYS_SYS_QUE_ANGEL_GREEN100 ) != NULL
|| m_Inventory.GetAtItemId( II_SYS_SYS_QUE_ANGEL_WHITE100 ) != NULL
)
nResult = 4;
}
else
nResult = 5;
}
I open up the item Angel I bounced.
I need help