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/script.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/script.c')
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index eef5cac23..50c665086 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -4574,7 +4574,8 @@ int buildin_jobchange(struct script_state *st) if( st->end>st->start+3 ) upper=conv_num(st,& (st->stack->stack_data[st->start+3])); - if ((job >= 0 && job < MAX_PC_CLASS)){ + if ((job >= 0 && job < MAX_PC_CLASS)) + { pc_jobchange(script_rid2sd(st),job, upper); if(use_irc && irc_announce_jobchange_flag) irc_announce_jobchange(script_rid2sd(st)); @@ -7140,7 +7141,6 @@ int buildin_initnpctimer(struct script_state *st) else nd=(struct npc_data *)map_id2bl(st->oid); - //nd->u.scr.rid = st->rid; //NO, use npcattachtimer if you want a player-attached timer! [Skotlex] npc_settimerevent_tick(nd,0); npc_timerevent_start(nd, st->rid); return 0; |