Browse Source

- Probably fixed splash damage.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11841 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 17 years ago
parent
commit
5617e38fba
2 changed files with 2 additions and 5 deletions
  1. 1 0
      Changelog-Trunk.txt
  2. 1 5
      src/map/battle.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.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 
 2007/11/29
 2007/11/29
+	* Probably fixed splash damage.
 	* Reflected spells no longer cause knockback. 
 	* Reflected spells no longer cause knockback. 
 	* SG Blessing skills now grant the extra experience to everyone when the SG
 	* SG Blessing skills now grant the extra experience to everyone when the SG
 	  killed the mob.
 	  killed the mob.

+ 1 - 5
src/map/battle.c

@@ -2884,12 +2884,8 @@ enum damage_lv battle_weapon_attack(struct block_list* src, struct block_list* t
 
 
 	wd.dmotion = clif_damage(src, target, tick, wd.amotion, wd.dmotion, wd.damage, wd.div_ , wd.type, wd.damage2);
 	wd.dmotion = clif_damage(src, target, tick, wd.amotion, wd.dmotion, wd.damage, wd.div_ , wd.type, wd.damage2);
 
 
-// Eh, battle_calc_damage should take care of not making the off-hand dmg miss.
-//	if(sd && sd->status.weapon > MAX_WEAPON_TYPE && wd.damage2 == 0)
-//		clif_damage(src, target, tick+10, wd.amotion, wd.dmotion,0, 1, 0, 0);
-
 	if (sd && sd->splash_range > 0 && damage > 0)
 	if (sd && sd->splash_range > 0 && damage > 0)
-		skill_castend_damage_id(src, target, 0, -1, tick, 0);
+		skill_castend_damage_id(src, target, 0, 1, tick, 0);
 
 
 	map_freeblock_lock();
 	map_freeblock_lock();