Pārlūkot izejas kodu

- Removed sending normal-damage packets instead of skill packets for splash-damaged skills, since... well, that's how Aegis does it.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8548 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 18 gadi atpakaļ
vecāks
revīzija
83c639d54a
2 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 2 0
      Changelog-Trunk.txt
  2. 4 0
      src/map/skill.c

+ 2 - 0
Changelog-Trunk.txt

@@ -4,6 +4,8 @@ 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/08/30
+	* Removed sending normal-damage packets instead of skill packets for
+	  splash-damaged skills, since... well, that's how Aegis does it. [Skotlex]
 	* Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv
 	  vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv
 	  minutes. Hp/Sp is no longer set to 10 after a forced expiration. [Skotlex]

+ 4 - 0
src/map/skill.c

@@ -2054,10 +2054,14 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
 			break;
 		}
 	default:
+// Aegis sends the same packet for both targetted and splash-targetted enemies,
+// therefore SD_ANIMATION isn't really of any use...
+/*
 		if (flag&SD_ANIMATION) //Disable skill animation.
 			dmg.dmotion = clif_damage(dsrc,bl,tick, dmg.amotion, dmg.dmotion,
 				damage, dmg.div_, 8, dmg.damage2);
 		else
+*/
 			dmg.dmotion = clif_skill_damage(dsrc,bl,tick, dmg.amotion, dmg.dmotion,
 				damage, dmg.div_, skillid, flag&SD_LEVEL?-1:skilllv, type);
 		break;