summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 07:12:36 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 07:12:36 +0000
commit5088312f052d7be173f02945bcf83827aa702833 (patch)
tree854f75c8b7441d2586c9aba10d9fdfb60bcdeca0 /src
parent98c8a2359e1fa54ab0826bb626b15d69a48a1258 (diff)
downloadhercules-5088312f052d7be173f02945bcf83827aa702833.tar.gz
hercules-5088312f052d7be173f02945bcf83827aa702833.tar.bz2
hercules-5088312f052d7be173f02945bcf83827aa702833.tar.xz
hercules-5088312f052d7be173f02945bcf83827aa702833.zip
- Fixed wrong check of Deluge + Suiton which broke the water-requirement check for skills.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6103 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index e7dd39134..71925a108 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8223,7 +8223,7 @@ int skill_check_condition(struct map_session_data *sd,int skill, int lv, int typ
case ST_WATER:
//?…?ê”»’è
//(!map[sd->bl.m].flag.rain) && //they have removed RAIN effect. [Lupus]
- if ( (sd->sc.data[SC_DELUGE].timer == -1 || sd->sc.data[SC_SUITON].timer == -1) &&
+ if (sd->sc.data[SC_DELUGE].timer == -1 && sd->sc.data[SC_SUITON].timer == -1 &&
(!map_getcell(sd->bl.m,sd->bl.x,sd->bl.y,CELL_CHKWATER)))
{
clif_skill_fail(sd,skill,0,0);