diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-10 15:30:10 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-10 15:30:10 +0000 |
commit | cc01193a8ae7de206290129eb1bbf3296a28d1bf (patch) | |
tree | 61aa5c25aa4b9a9ccb72cb84a856350dac38e212 /src/map/status.c | |
parent | ce55e06f289c7c124be78b9bf7e4069d940c34f4 (diff) | |
download | hercules-cc01193a8ae7de206290129eb1bbf3296a28d1bf.tar.gz hercules-cc01193a8ae7de206290129eb1bbf3296a28d1bf.tar.bz2 hercules-cc01193a8ae7de206290129eb1bbf3296a28d1bf.tar.xz hercules-cc01193a8ae7de206290129eb1bbf3296a28d1bf.zip |
- Added pc_issit check to pc_can_move
- Stone/Freeze/Stun/Sleep now make you stand up as well.
- Some logic pointer fixes on map_searchrandfreecell.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5251 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 38469eba7..3eb09a6ba 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -3745,7 +3745,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val if (elem == 1 && !(flag&1))
return 0; //Can't freeze water elementals.
case SC_STONE:
- //I've been informed that undead chars are inmune to stone curse too. [Skotlex]
+ //Undead are inmune to Freeze/Stone
if (undead_flag && !(flag&1))
return 0;
case SC_SLEEP:
@@ -4631,6 +4631,9 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val case SC_FREEZE:
case SC_STAN:
case SC_SLEEP:
+ case SC_STONE:
+ if (sd && pc_issit(sd)) //Avoid sprite sync problems.
+ pc_setstand(sd);
case SC_TRICKDEAD:
battle_stopattack(bl);
skill_stop_dancing(bl); /* 演奏/ダンスの中? */
|