summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlipp <mysteriousragnarok@hotmail.com>2014-08-05 13:42:35 -0400
committerFlipp <mysteriousragnarok@hotmail.com>2014-08-05 13:42:35 -0400
commit33b75b9cd5ef04445a3f6c122d7ae1ea1c618ef8 (patch)
tree8d5c5af7826654e82882644a3b78e3c5ff1b20f3
parent9efe7162583fb706b591a5e25279726fcc270d07 (diff)
parent5d798eb412e95cd0d5d089c16a71410b10bb61e1 (diff)
downloadhercules-33b75b9cd5ef04445a3f6c122d7ae1ea1c618ef8.tar.gz
hercules-33b75b9cd5ef04445a3f6c122d7ae1ea1c618ef8.tar.bz2
hercules-33b75b9cd5ef04445a3f6c122d7ae1ea1c618ef8.tar.xz
hercules-33b75b9cd5ef04445a3f6c122d7ae1ea1c618ef8.zip
Merge pull request #308 from nadiyama/master
Fixed sa_dispel behaviour with hiding/cloaking/chasewalk characters
-rw-r--r--db/sc_config.txt4
-rw-r--r--src/map/status.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/db/sc_config.txt b/db/sc_config.txt
index 1993a3e7f..6c430e36d 100644
--- a/db/sc_config.txt
+++ b/db/sc_config.txt
@@ -16,7 +16,8 @@
SC_PROVOKE, 32
SC_ENDURE, 21
-SC_CLOAKING, 2
+SC_HIDING, 4
+SC_CLOAKING, 6
SC_TWOHANDQUICKEN, 24
SC_CONCENTRATION, 16
SC_ENCHANTPOISON, 16
@@ -117,6 +118,7 @@ SC_KAUPE, 26
SC_ONEHANDQUICKEN, 26
//SC_GDSKILL_POSTDELAY, 29
SC_PRESERVE, 18
+SC_CHASEWALK, 4
SC_CHASEWALK2, 26
//SC_MOVESLOW_POTION, 26
SC_DOUBLECASTING, 26
diff --git a/src/map/status.c b/src/map/status.c
index c73f78c42..30bedf565 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1793,6 +1793,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, uin
else {
switch ( skill_id ) {
case MO_ABSORBSPIRITS: // it works when already casted and target suddenly hides.
+ case SA_DISPELL:
hide_flag &= ~OPTION_HIDE;
break;
}