summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-23 13:57:54 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-23 13:57:54 +0000
commitc61ca3727be3a366a593248a862f37063937fda2 (patch)
treefa0f22fa11862f30a550622e1fefefe1e47f2de0 /src/map/status.c
parent4f51d1366ebb57bf2ac8a3ea0238bc39af796665 (diff)
downloadhercules-c61ca3727be3a366a593248a862f37063937fda2.tar.gz
hercules-c61ca3727be3a366a593248a862f37063937fda2.tar.bz2
hercules-c61ca3727be3a366a593248a862f37063937fda2.tar.xz
hercules-c61ca3727be3a366a593248a862f37063937fda2.zip
- Removed NJ_TOBIDOUGU adding damage to W_HUUMA weapons which somehow got readded.
- When nonplayers use Cloaking, it will be forced to level 10 since mobs shouldn't have movement/attack restrictions while walking cloaked. - Should fix a warning in int_homun.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9043 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 97c3cc6e3..bc30ada23 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5043,6 +5043,8 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
if (map_flag_gvg(bl->m)) val4 *= 5;
break;
case SC_CLOAKING:
+ if (!sd) //Monsters should be able to walk no penalties. [Skotlex]
+ val1 = 10;
val2 = tick>0?tick:60000; //SP consumption rate.
val3 = 0;
if (sd && (sd->class_&MAPID_UPPERMASK) == MAPID_ASSASSIN &&