Browse Source

Changed guild skills restore, regen, and battle order to only affect BL_PC. (bugreport:1313)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12513 54d463be-8e91-2dee-dedb-b68131a5f0ec
Kevin 17 years ago
parent
commit
e7d2509efb
2 changed files with 4 additions and 3 deletions
  1. 1 0
      Changelog-Trunk.txt
  2. 3 3
      src/map/skill.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.
 
 2008/04/06
+	* Changed guild skills restore, regen, and battle order to only affect BL_PC. (r12513) [Kevin]
 	* Reverted one of the changes in dynamic mobs that may
 	- be causing the spawning problems. (r12512) [Kevin]
 	* Equip speed buffs no longer stack with speed consumables. (r12509) [Kevin]

+ 3 - 3
src/map/skill.c

@@ -4952,7 +4952,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 		} else if (status_get_guild_id(src)) {
 			clif_skill_nodamage(src,bl,skillid,skilllv,1);
 			map_foreachinrange(skill_area_sub, src,
-				skill_get_splash(skillid, skilllv), BL_CHAR,
+				skill_get_splash(skillid, skilllv), BL_PC,
 				src,skillid,skilllv,tick, flag|BCT_GUILD|1,
 				skill_castend_nodamage_id);
 			if (sd)
@@ -4966,7 +4966,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 		} else if (status_get_guild_id(src)) {
 			clif_skill_nodamage(src,bl,skillid,skilllv,1);
 			map_foreachinrange(skill_area_sub, src,
-				skill_get_splash(skillid, skilllv), BL_CHAR,
+				skill_get_splash(skillid, skilllv), BL_PC,
 				src,skillid,skilllv,tick, flag|BCT_GUILD|1,
 				skill_castend_nodamage_id);
 			if (sd)
@@ -4980,7 +4980,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 		} else if (status_get_guild_id(src)) {
 			clif_skill_nodamage(src,bl,skillid,skilllv,1);
 			map_foreachinrange(skill_area_sub, src,
-				skill_get_splash(skillid, skilllv), BL_CHAR,
+				skill_get_splash(skillid, skilllv), BL_PC,
 				src,skillid,skilllv,tick, flag|BCT_GUILD|1,
 				skill_castend_nodamage_id);
 			if (sd)