Forráskód Böngészése

Reverted r3619. Evidences show Margaretha Solin Card works when player is hit by Storm Gust.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14231 54d463be-8e91-2dee-dedb-b68131a5f0ec
Inkfish 15 éve
szülő
commit
adc8193bbe
2 módosított fájl, 3 hozzáadás és 1 törlés
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/skill.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,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.
 
+2010/01/28
+	* Fixed target skill doesn't autocast on hit when hit by AoE. [Inkfish]
 2010/01/24
 	* Prevented the changing of alliances to oppositions during WoE. (bugreport:3923) [Paradox924X]
 2010/01/23

+ 1 - 1
src/map/skill.c

@@ -1905,7 +1905,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
 		if( !status_isdead(bl) )
 			skill_additional_effect(src,bl,skillid,skilllv,dmg.flag,dmg.dmg_lv,tick);
 		if( damage > 0 ) //Counter status effects [Skotlex]
-			skill_counter_additional_effect(dsrc,bl,skillid,skilllv,dmg.flag,tick);
+			skill_counter_additional_effect(src,bl,skillid,skilllv,dmg.flag,tick);
 	}
 
 	//Only knockback if it's still alive, otherwise a "ghost" is left behind. [Skotlex]