Jump to content

SoNiice

Member
  • Posts

    55
  • Joined

  • Last visited

  • Feedback

    0%

Community Answers

  1. SoNiice's post in [Question]Hash password was marked as the answer   
    The PASSWORD function ist from MySQL itself, but you also can do it in PHP directly like this:
    <?php $sPasswordHash = '*' . strtoupper(sha1(sha1($sPassword, true))) This function will hash your password string to exactly that the same like MySQL5 PASSWORD function output.
  2. SoNiice's post in 6/7 Bonus Adds only 2 different stats was marked as the answer   
    Take a look at you attr_rare table?
  3. SoNiice's post in Bug wolfman attbonus and resist was marked as the answer   
    Take a look at your "battle.cpp" in the game source at the function "CalcAttBonus".
    else if (pkVictim->IsPC()) { iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_HUMAN)) / 100; switch (pkVictim->GetJob()) { case JOB_WARRIOR: iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_WARRIOR)) / 100; break; case JOB_ASSASSIN: iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_ASSASSIN)) / 100; break; case JOB_SURA: iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_SURA)) / 100; break; case JOB_SHAMAN: iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_SHAMAN)) / 100; break; } } Add your "JOB_LYCAN" or however it's named there.
     
    //edit: Don't forget to do the same at the RESIST area.
×
×
  • 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.