瀏覽代碼

- Figured out and fixed the issue with Volcano/Deluge/Violent Gale not really working. Thanks to Mpeg for noting it out.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8034 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 年之前
父節點
當前提交
cd50714a47
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 0
      Changelog-Trunk.txt
  2. 1 2
      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/01
+	* Figured out and fixed the issue with Volcano/Deluge/Violent Gale not
+	  really working. Thanks to Mpeg for noting it out. [Skotlex]
 	* Modified Self Destruction, so that Marine Spheres in non-versus maps will
 	  hurt only enemies, while in all other situations this skill will hurt
 	  everyone around them. [Skotlex]

+ 1 - 2
src/map/skill.c

@@ -2768,7 +2768,6 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
 				skill_attack(BF_WEAPON, src, src, bl, skillid, skilllv, tick, flag);
 				dir = dir < 4 ? dir+4 : dir-4; // change direction [Celest]
 				unit_setdir(bl,dir);
-				//clif_changed_dir(bl); Already done by unit_setdir
 			}
 			else if (sd)
 				clif_skill_fail(sd,skillid,0,0);
@@ -6880,7 +6879,7 @@ int skill_unit_onplace (struct skill_unit *src, struct block_list *bl, unsigned
 	case UNT_VIOLENTGALE:
 	case UNT_SUITON:
 		if(sc && sc->data[type].timer==-1)
-			sc_start(bl,type,100,sg->skill_lv,skill_get_time2(sg->skill_id,sg->skill_lv));
+			sc_start(bl,type,100,sg->skill_lv,sg->limit);
 		break;
 
 	case UNT_RICHMANKIM: