diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-23 13:57:54 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-23 13:57:54 +0000 |
commit | c61ca3727be3a366a593248a862f37063937fda2 (patch) | |
tree | fa0f22fa11862f30a550622e1fefefe1e47f2de0 /src/map/status.c | |
parent | 4f51d1366ebb57bf2ac8a3ea0238bc39af796665 (diff) | |
download | hercules-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.c | 2 |
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 &&
|