diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-10 13:58:43 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-10 13:58:43 +0000 |
commit | 63a949f169e63a4eae859bc92b8edbbd0c4be532 (patch) | |
tree | 095e3bda19c75275bf967030a9893691dcc28846 /src/map/skill.c | |
parent | b19b2cd0e21bc0ce9d513469c4a575419aaf918e (diff) | |
download | hercules-63a949f169e63a4eae859bc92b8edbbd0c4be532.tar.gz hercules-63a949f169e63a4eae859bc92b8edbbd0c4be532.tar.bz2 hercules-63a949f169e63a4eae859bc92b8edbbd0c4be532.tar.xz hercules-63a949f169e63a4eae859bc92b8edbbd0c4be532.zip |
- 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
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 4 insertions, 0 deletions
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)) |