summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--conf/Changelog.txt2
-rw-r--r--conf/battle/exp.conf2
-rw-r--r--src/map/mob.c2
4 files changed, 6 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 800b18042..71bdcff2c 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2008/10/06
+ * Rev. 13264 Damage count on rebirthed mobs is now reset. (Valaris) [L0ne_W0lf]
* Rev. 13263 voided out clif_blown as per Valaris' instruction. [L0ne_W0lf]
* Rev. 13262 SC_WEIGHT50 and 90 are no longer removed on death. (bugreport:2316) [L0ne_W0lf]
2008/10/04
diff --git a/conf/Changelog.txt b/conf/Changelog.txt
index 5cc69b88e..5ceb54a0f 100644
--- a/conf/Changelog.txt
+++ b/conf/Changelog.txt
@@ -1,5 +1,7 @@
Date Added
+2008/10/06
+ * Rev. 13264 Changed exp_calc_type to 1, as type 0 seems to be based off old rumour, and to compliment the update to mob_revive. [L0ne_W0lf]
2008/10/02
* Rev. 13253 Modified homunculus auto-vapor setting to yes. (bugreport:2298) [L0ne_W0lf]
2008/09/11
diff --git a/conf/battle/exp.conf b/conf/battle/exp.conf
index f3d438ea2..f1af58dd6 100644
--- a/conf/battle/exp.conf
+++ b/conf/battle/exp.conf
@@ -41,7 +41,7 @@ max_exp_gain_rate: 0
// 1 = uses damage given / max_hp as damage ratio
// NOTE: Using type 1 disables the bonus where the first attacker gets
// his share of the exp doubled when multiple people attack the mob.
-exp_calc_type: 0
+exp_calc_type: 1
// Experience increase per attacker. That is, every additional attacker to the
// monster makes it give this much more experience
diff --git a/src/map/mob.c b/src/map/mob.c
index 1305a9eb7..809ce3f77 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2380,6 +2380,8 @@ void mob_revive(struct mob_data *md, unsigned int hp)
md->next_walktime = tick+rand()%50+5000;
md->last_linktime = tick;
md->last_pcneartime = 0;
+ memset(md->dmglog, 0, sizeof(md->dmglog)); // Reset the damage done on the rebirthed monster, otherwise will grant full exp + damage done. [Valaris]
+ md->tdmg = 0;
if (!md->bl.prev)
map_addblock(&md->bl);
clif_spawn(&md->bl);