summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-02 05:09:45 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-02 05:09:45 +0000
commit0939a464fc52731e66d9aaeca816075226f34a1c (patch)
tree2965db5d67c7b8dfd1fc66a37b65e8503f30aa29
parentb5b1166553d4c4ad185e93edd0fcedd3bd962b46 (diff)
downloadhercules-0939a464fc52731e66d9aaeca816075226f34a1c.tar.gz
hercules-0939a464fc52731e66d9aaeca816075226f34a1c.tar.bz2
hercules-0939a464fc52731e66d9aaeca816075226f34a1c.tar.xz
hercules-0939a464fc52731e66d9aaeca816075226f34a1c.zip
Monsters spawned with mob-generating items now have MD_ANGRY applied to them.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14540 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/mob.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 29c284308..25be24584 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -1,5 +1,7 @@
Date Added
+2010/12/02
+ * Rev. 14540 Monsters spawned with mob-generating items now have MD_ANGRY applied to them. [L0ne_W0lf]
2010/12/01
* Added packet 0x1b1 (ZC_SHOWDIGIT). [Ai4rei]
* Confirmed packet 0x291 (ZC_MSG) to be general-purpose msgstringtable.txt packet and updated all functions using it (related r12245 and r13126). [Ai4rei]
diff --git a/src/map/mob.c b/src/map/mob.c
index a5bdbe267..524350b81 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -448,7 +448,7 @@ int mob_once_spawn(struct map_session_data* sd, int m, short x, short y, const c
if (class_ < 0 && battle_config.dead_branch_active)
//Behold Aegis's masterful decisions yet again...
//"I understand the "Aggressive" part, but the "Can Move" and "Can Attack" is just stupid" - Poki#3
- sc_start4(&md->bl, SC_MODECHANGE, 100, 1, 0, MD_AGGRESSIVE|MD_CANATTACK|MD_CANMOVE, 0, 60000);
+ sc_start4(&md->bl, SC_MODECHANGE, 100, 1, 0, MD_AGGRESSIVE|MD_CANATTACK|MD_CANMOVE|MD_ANGRY, 0, 60000);
}
return (md)?md->bl.id : 0; // id of last spawned mob