Jump to content

How to disable aligment to decrease with map index


Recommended Posts

Hi ,

How can i stop aligment to  decrease when i am on pvp mode when mapindex ==181

  • when i remove this
  • if (number(1, 100) < iNoPenaltyProb)
    pkKiller->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("용신의 보호로 아이템이 떨어지지 않았습니다."));
    else
    {
    if (g_iUseLocale && pkKiller->GetParty())
    {
    FPartyAlignmentCompute f(-20000, pkKiller->GetX(), pkKiller->GetY());
    pkKiller->GetParty()->ForEachOnlineMember(f);
    
    
    if (f.m_iCount == 0)
    pkKiller->UpdateAlignment(-20000);
    else
    {
    sys_log(0, "ALIGNMENT PARTY count %d amount %d", f.m_iCount, f.m_iAmount);
    
    
    f.m_iStep = 1;
    pkKiller->GetParty()->ForEachOnlineMember(f);
    }
    }
    else
    pkKiller->UpdateAlignment(-20000);
    }
    and this
  • if (GetLevel() - pkAttacker->GetLevel() >= -10)
    if (pkAttacker->GetRealAlignment() < 0)
    {
    if (pkAttacker->IsEquipUniqueItem(UNIQUE_ITEM_FASTER_ALIGNMENT_UP_BY_KILL))
    pkAttacker->UpdateAlignment(34);
    else
    pkAttacker->UpdateAlignment(27);
    }
    else
    pkAttacker->UpdateAlignment(12);
  • Its work but  i want this option only  work at mapindex 181 
  • How i can do this ? 
     

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.