summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-25 11:54:35 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-25 11:54:35 +0000
commit388be58765c0527ef37d7858d606ab49cc9c5c41 (patch)
tree2a209da768344f0d153f3d020bc44f0f085962e9 /src/map/status.c
parentb0e526849f98004da6d21e50639d004072c3bed1 (diff)
downloadhercules-388be58765c0527ef37d7858d606ab49cc9c5c41.tar.gz
hercules-388be58765c0527ef37d7858d606ab49cc9c5c41.tar.bz2
hercules-388be58765c0527ef37d7858d606ab49cc9c5c41.tar.xz
hercules-388be58765c0527ef37d7858d606ab49cc9c5c41.zip
Fixed bugreport:5843 WL_HELLINFERNO should now deal 2 elemental(fire ad shadow) hits and updated its damage formula.
Fixed bugreport:6068 Cloaking/Hiding skills is now working to hide it self to non boss/detector monster. Fixed bugreport:6105 Stone Curse should now stop target to attack once activated. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16346 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index bf1fbeaa9..49da4ae9f 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1727,6 +1727,7 @@ int status_check_visibility(struct block_list *src, struct block_list *target)
{ //Check for chase-walk/hiding/cloaking opponents.
case BL_PC:
if ( tsc->data[SC_CLOAKINGEXCEED] && !(status->mode&MD_BOSS) )
+ return 0;
if( (tsc->option&(OPTION_HIDE|OPTION_CLOAK|OPTION_CHASEWALK) || tsc->data[SC__INVISIBILITY] || tsc->data[SC_CAMOUFLAGE]) && !(status->mode&MD_BOSS) &&
( ((TBL_PC*)target)->special_state.perfect_hiding || !(status->mode&MD_DETECTOR) ) )
return 0;
@@ -9224,6 +9225,7 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data)
if(sc->opt1 == OPT1_STONEWAIT && sce->val3) {
sce->val4 = 0;
unit_stop_walking(bl,1);
+ unit_stop_attack(bl);
sc->opt1 = OPT1_STONE;
clif_changeoption(bl);
sc_timer_next(1000+tick,status_change_timer, bl->id, data );