Parcourir la source

* Magnetic Earth will never stack even if they are from the same team.(bugreport:2568)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13750 54d463be-8e91-2dee-dedb-b68131a5f0ec
Inkfish il y a 16 ans
Parent
commit
5c56cedcbc
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 2 0
      Changelog-Trunk.txt
  2. 1 2
      src/map/skill.c

+ 2 - 0
Changelog-Trunk.txt

@@ -2,6 +2,8 @@ Date	Added
 
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+09/05/10
+	* Magnetic Earth will never stack(bugreport:2568) [Inkfish]
 09/05/09
 	* Fixed GX's skill level modifier is missing [Inkfish]
 	* Fixed some known and unknown player attached NPC timer problems [Inkfish]

+ 1 - 2
src/map/skill.c

@@ -9428,8 +9428,7 @@ static int skill_cell_overlap(struct block_list *bl, va_list ap)
 	switch (skillid)
 	{
 		case SA_LANDPROTECTOR:
-			if( unit->group->skill_id == SA_LANDPROTECTOR &&
-				battle_check_target(bl, src, BCT_ENEMY) > 0 )
+			if( unit->group->skill_id == SA_LANDPROTECTOR )
 			{	//Check for offensive Land Protector to delete both. [Skotlex]
 				(*alive) = 0;
 				skill_delunit(unit);