summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorcsnv <ctt@csnv.es>2014-09-15 22:22:17 +0200
committercsnv <ctt@csnv.es>2014-09-15 22:22:17 +0200
commit50e1f6c0781df16026cd64bdd87f206295c4a8aa (patch)
treefa5e68e0a8d6e190faa923a3a00affc04d17bf00 /src/map/status.c
parent67ccaac795f50e3727a995d6e33861287fc7365d (diff)
downloadhercules-50e1f6c0781df16026cd64bdd87f206295c4a8aa.tar.gz
hercules-50e1f6c0781df16026cd64bdd87f206295c4a8aa.tar.bz2
hercules-50e1f6c0781df16026cd64bdd87f206295c4a8aa.tar.xz
hercules-50e1f6c0781df16026cd64bdd87f206295c4a8aa.zip
Fixed song display, changed devotion conditions
- Fixed bug report http://hercules.ws/board/tracker/issue-8338-apple-of-iduns/?gopid=23558#entry23558 - Changes devotion check to work with reflect equipment of the target
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 4c136f870..4f7effa4a 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1790,7 +1790,8 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, uin
//If targeting, cloak+hide protect you, otherwise only hiding does.
hide_flag = flag?OPTION_HIDE:(OPTION_HIDE|OPTION_CLOAK|OPTION_CHASEWALK);
- //You cannot hide from ground skills.
+ // There is no NF for ground skills, but every earth type skill out there
+ // affects hidding except Stone Curse
if( skill->get_ele(skill_id,1) == ELE_EARTH && skill_id != MG_STONECURSE)
hide_flag &= ~OPTION_HIDE;