From 63a949f169e63a4eae859bc92b8edbbd0c4be532 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 10 Nov 2006 13:58:43 +0000 Subject: - Fog of Wall will fail when casted on top of a Volcano/Violent Gale - Applied FlavioJS's fix to the npc whisper system. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9190 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 5 ++++- src/map/clif.c | 41 ++++++++++++++++++++++------------------- src/map/skill.c | 4 ++++ 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 13b71f023..87b1f1eb9 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,8 +3,11 @@ 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. +2006/11/10 + * Fog of Wall will fail when casted on top of a Volcano/Violent Gale + [Skotlex] + * Applied FlavioJS's fix to the npc whisper system. [Skotlex] 2006/11/09 -======= * Fixed status-change loading not working. [Skotlex] * Fixed permanent mob-spawn script-events not working. [Skotlex] * AL_CURE won't confuse undead players. [Skotlex] diff --git a/src/map/clif.c b/src/map/clif.c index 2c2574187..4a9dab5ed 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -9044,7 +9044,6 @@ void clif_parse_Wis(int fd, struct map_session_data *sd) { // S 0096 .w .w name)+18)*sizeof(char)); diff --git a/src/map/skill.c b/src/map/skill.c index c8365482a..da6244a3f 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6662,6 +6662,10 @@ struct skill_unit_group *skill_unitsetting (struct block_list *src, int skillid, val2 = skilllv*10; //Status ailment resistance break; case PF_FOGWALL: + //When casted on top of Volcano/Violent Gale it fails. + if (map_find_skill_unit_oncell(src,x,y,SA_VOLCANO,NULL) || + map_find_skill_unit_oncell(src,x,y,SA_VIOLENTGALE,NULL)) + return NULL; //When casted on top of Deluge/Suiton: Double duration. if (map_find_skill_unit_oncell(src,x,y,SA_DELUGE,NULL) || map_find_skill_unit_oncell(src,x,y,NJ_SUITON,NULL)) -- cgit v1.2.3-70-g09d2