#ifdef ENABLE_BIO_SYSTEM
/**30 Lv Biyolog**/
int affect_add_30(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO);
ch->AddAffect(AFFECT_BIO, aApplyInfo[8].bPointType, 10, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
/**30 Lv Biyolog**/
/**40 Lv Biyolog**/
int affect_add_40(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO);
ch->AddAffect(AFFECT_BIO, aApplyInfo[7].bPointType, 5, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
/**40 Lv Biyolog**/
/**50 Lv Biyolog**/
int affect_add_50(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO);
ch->AddAffect(AFFECT_BIO, aApplyInfo[54].bPointType, 60, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
/**50 Lv Biyolog**/
/**60 Lv Biyolog**/
int affect_add_60(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO);
ch->AddAffect(AFFECT_BIO, aApplyInfo[53].bPointType, 50, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
/**60 Lv Biyolog**/
/**70 Lv Biyolog**/
int affect_add_70(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO);
ch->AddAffect(AFFECT_BIO, aApplyInfo[8].bPointType, 11, 0, 60*60*24*365*60, 0, false);
ch->AddAffect(AFFECT_BIO, aApplyInfo[7].bPointType, 10, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
/**70 Lv Biyolog**/
/**80 Lv Biyolog**/
int affect_add_80(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO);
ch->AddAffect(AFFECT_BIO, aApplyInfo[7].bPointType, 6, 0, 60*60*24*365*60, 0, false);
ch->AddAffect(AFFECT_BIO, aApplyInfo[64].bPointType, 10, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
/**80 Lv Biyolog**/
/**85 Lv Biyolog**/
int affect_add_85(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO);
ch->AddAffect(AFFECT_BIO, aApplyInfo[78].bPointType, 10, 0, 60*60*24*365*60, 0, false);
ch->AddAffect(AFFECT_BIO, aApplyInfo[79].bPointType, 10, 0, 60*60*24*365*60, 0, false);
ch->AddAffect(AFFECT_BIO, aApplyInfo[80].bPointType, 10, 0, 60*60*24*365*60, 0, false);
ch->AddAffect(AFFECT_BIO, aApplyInfo[81].bPointType, 10, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
/**85 Lv Biyolog**/
/**90 Lv Biyolog**/
int affect_add_90(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO);
ch->AddAffect(AFFECT_BIO, aApplyInfo[17].bPointType, 10, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
/**90 Lv Biyolog**/
/**92 Lv Biyolog**/
int affect_add_92_1(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO_92);
ch->AddAffect(AFFECT_BIO_92, aApplyInfo[1].bPointType, 1000, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
int affect_add_92_2(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO_92);
ch->AddAffect(AFFECT_BIO_92, aApplyInfo[54].bPointType, 120, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
int affect_add_92_3(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO_92);
ch->AddAffect(AFFECT_BIO_92, aApplyInfo[53].bPointType, 50, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
/**92 Lv Biyolog**/
/**94 Lv Biyolog**/
int affect_add_94_1(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO_94);
ch->AddAffect(AFFECT_BIO_94, aApplyInfo[1].bPointType, 1100, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
int affect_add_94_2(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO_94);
ch->AddAffect(AFFECT_BIO_94, aApplyInfo[54].bPointType, 140, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
int affect_add_94_3(lua_State * L)
{
LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
if ( ch != NULL )
{
ch->RemoveAffect(AFFECT_BIO_94);
ch->AddAffect(AFFECT_BIO_94, aApplyInfo[53].bPointType, 60, 0, 60*60*24*365*60, 0, false);
}
return 0;
}
/**94 Lv Biyolog**/
#endif