mirror of
https://github.com/tbamud/tbamud.git
synced 2026-04-05 03:47:20 +02:00
Remove XP gains for mortals
This commit is contained in:
parent
69caa31b8a
commit
7d2afcdee0
4 changed files with 1 additions and 18 deletions
|
|
@ -295,7 +295,6 @@ struct char_data *i;
|
|||
|
||||
void die(struct char_data * ch, struct char_data * killer)
|
||||
{
|
||||
gain_exp(ch, -(GET_EXP(ch) / 2));
|
||||
if (!IS_NPC(ch)) {
|
||||
REMOVE_BIT_AR(PLR_FLAGS(ch), PLR_KILLER);
|
||||
REMOVE_BIT_AR(PLR_FLAGS(ch), PLR_THIEF);
|
||||
|
|
@ -315,7 +314,6 @@ static void perform_group_gain(struct char_data *ch, int base,
|
|||
else
|
||||
send_to_char(ch, "You receive your share of experience -- one measly little point!\r\n");
|
||||
|
||||
gain_exp(ch, share);
|
||||
change_alignment(ch, victim);
|
||||
}
|
||||
|
||||
|
|
@ -364,7 +362,6 @@ static void solo_gain(struct char_data *ch, struct char_data *victim)
|
|||
else
|
||||
send_to_char(ch, "You receive one lousy experience point.\r\n");
|
||||
|
||||
gain_exp(ch, exp);
|
||||
change_alignment(ch, victim);
|
||||
}
|
||||
|
||||
|
|
@ -650,10 +647,6 @@ int damage(struct char_data *ch, struct char_data *victim, int dam, int attackty
|
|||
dam = MAX(MIN(dam, 100), 0);
|
||||
GET_HIT(victim) -= dam;
|
||||
|
||||
/* Gain exp for the hit */
|
||||
if (ch != victim)
|
||||
gain_exp(ch, GET_LEVEL(victim) * dam);
|
||||
|
||||
update_pos(victim);
|
||||
|
||||
/* skill_message sends a message from the messages file in lib/misc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue