summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-26 15:07:18 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-26 15:07:18 +0000
commit5abd5bd1f8f53b73560cecd4496bfd4bc2acc226 (patch)
tree1599a2cfc0f4079ce75a649e04542bdc1d8d06d7 /src/map/status.c
parent391ac7a8a4aedafe818d0559a2011722fa54163c (diff)
downloadhercules-5abd5bd1f8f53b73560cecd4496bfd4bc2acc226.tar.gz
hercules-5abd5bd1f8f53b73560cecd4496bfd4bc2acc226.tar.bz2
hercules-5abd5bd1f8f53b73560cecd4496bfd4bc2acc226.tar.xz
hercules-5abd5bd1f8f53b73560cecd4496bfd4bc2acc226.zip
- Cleaned up some more the code so it works for -DTURBO
- Cleaned the pvpoff @ and script commands. - mob_get_random_id now has two additional flags to specify that the monster to acquire should not be a boss type (4) or that it should give exp (8). - TK_MISSION will now pick any mob from the DB as long as it is not a boss type and it gives base exp. - Fixed the double-stone issue when hitting a petrified character. - Minor cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9573 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index c287321b8..bfc257f7b 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6057,6 +6057,7 @@ int status_change_end( struct block_list* bl , int type,int tid )
//delays status change ending so that a skill that sets opt1 fails to
//trigger when it also removed one
case SC_STONE:
+ sc->data[type].val3 = 0; //Petrify time counter.
case SC_FREEZE:
case SC_STUN:
case SC_SLEEP: