Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
254 changes: 254 additions & 0 deletions db/re/level_penalty.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,254 @@
//================= Hercules Database =====================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
//= | | | | __/ | | (__| |_| | | __/\__ \
//= \_| |_/\___|_| \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2015-2025 Hercules Dev Team
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program. If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Level penalty configuration file
//= Used in RENEWAL ONLY to determine experience and item drop penalties
//= based on the level difference between the player and the monster.
//=========================================================================

level_penalty_db: (
/**************************************************************************
************* Entry structure ********************************************
**************************************************************************
{
// Level of the defending element (by default, may be Lv1 up to Lv4)
type: <EXP_PENALTY_RATE or ITEM_DROP_PENALTY_RATE>,
race: <RC_* constant>,
diff: <level difference>,
rate: <penalty rate, where 100 means 100% (base rate, no additions/reductions)>
},
**************************************************************************/
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 16,
rate: 40
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 15,
rate: 115
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 14,
rate: 120
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 13,
rate: 125
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 12,
rate: 130
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 11,
rate: 135
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 10,
rate: 140
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 9,
rate: 135
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 8,
rate: 130
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 7,
rate: 125
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 6,
rate: 120
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 5,
rate: 115
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 4,
rate: 110
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 3,
rate: 105
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 0,
rate: 100
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -1,
rate: 100
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -6,
rate: 95
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -11,
rate: 90
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -16,
rate: 85
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -21,
rate: 60
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -26,
rate: 35
},
{
type: EXP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -31,
rate: 10
},
{
type: EXP_PENALTY_RATE,
race: RC_BOSS,
diff: 0,
rate: 100
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 16,
rate: 50
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 13,
rate: 60
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 10,
rate: 70
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 7,
rate: 80
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 4,
rate: 90
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: 0,
rate: 100
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -4,
rate: 90
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -7,
rate: 80
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -10,
rate: 70
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -13,
rate: 60
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_NONBOSS,
diff: -16,
rate: 50
},
{
type: ITEM_DROP_PENALTY_RATE,
race: RC_BOSS,
diff: 0,
rate: 100
}
)
56 changes: 0 additions & 56 deletions db/re/level_penalty.txt

This file was deleted.

Loading
Loading