Преглед изворни кода

- made @killmonster make the mobs drop items again.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8976 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex пре 18 година
родитељ
комит
cc00ad7c09
2 измењених фајлова са 3 додато и 2 уклоњено
  1. 1 0
      Changelog-Trunk.txt
  2. 2 2
      src/map/atcommand.c

+ 1 - 0
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.
 
 2006/10/12
+	* made @killmonster make the mobs drop items again. [Skotlex]
 	* Added a temporary message when Angel of the Sun, Moon and Stars trigger
 	  so you know it triggered. [Skotlex]
 	* When slaves_inherit_speed is set (which is also the default), homun will

+ 2 - 2
src/map/atcommand.c

@@ -3711,8 +3711,8 @@ static int atkillmonster_sub(struct block_list *bl, va_list ap) {
 		return 0; //Do not touch WoE mobs!
 	
 	if (flag)
-		status_kill(bl);
-	else //FIXME: Eh.. what exactly is the difference here?
+		status_zap(bl,md->status.hp, 0);
+	else
 		status_kill(bl);	
 	return 1;
 }