Procházet zdrojové kódy

Monsters spawned with mob-generating items now have MD_ANGRY applied to them.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14540 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf před 14 roky
rodič
revize
521a0280af
2 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/mob.c

+ 2 - 0
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]

+ 1 - 1
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