Aliano 1 Posted July 21, 2018 Share Posted July 21, 2018 Hello, when i die as always i loss exp. how can i disable this. Thank you very much. Link to comment Share on other sites More sharing options...
ridetpro 116 Posted July 21, 2018 Share Posted July 21, 2018 (edited) char_battle.cpp Delete this whole code Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Aliano 1 Posted July 21, 2018 Author Share Posted July 21, 2018 Thank you ridetpro but i cant see your pic NOW Link to comment Share on other sites More sharing options...
ridetpro 116 Posted July 21, 2018 Share Posted July 21, 2018 Acum 53 minute, Aliano a spus: Thank you ridetpro but i cant see your pic NOW int iLoss = ((GetNextExp() * aiExpLossPercents[MINMAX(1, GetLevel(), PLAYER_EXP_TABLE_MAX)]) / 100); iLoss = MIN(800000, iLoss); if (bTown) { iLoss = 0; } if (IsEquipUniqueItem(UNIQUE_ITEM_TEARDROP_OF_GODNESS)) { iLoss /= 2; } sys_log(0, "DEATH_PENALTY(%s) EXP_LOSS: %d percent %d%%", GetName(), iLoss, aiExpLossPercents[MIN(gPlayerMaxLevel, GetLevel())]); PointChange(POINT_EXP, -iLoss, true); Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now