diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-11 20:46:00 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-11 20:46:00 +0000 |
commit | 74b3120bb7776371ed815c6c038fd467ef4ac366 (patch) | |
tree | ef9d4952fac314fff857db305e11c906c032840b /src/map | |
parent | d53677e22770a08278a681d9e4805d2a6ba36e98 (diff) | |
download | hercules-74b3120bb7776371ed815c6c038fd467ef4ac366.tar.gz hercules-74b3120bb7776371ed815c6c038fd467ef4ac366.tar.bz2 hercules-74b3120bb7776371ed815c6c038fd467ef4ac366.tar.xz hercules-74b3120bb7776371ed815c6c038fd467ef4ac366.zip |
* The Forget-me-not dance now behaves like Decrease AGI
- doesn't cancel Impressive Riff, Wind Walker, True Sight (bugreport:187)
- additionally, it doesn't cancel Cart Boost
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11718 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/map/status.c b/src/map/status.c index 137e65158..f0c5b0368 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4826,10 +4826,6 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val if(sc->data[SC_DECREASEAGI].timer!=-1 ) status_change_end(bl,SC_DECREASEAGI,-1); break; - case SC_DONTFORGETME: - //is this correct? Maybe all three should stop the same subset of SCs... - if(sc->data[SC_ASSNCROS].timer!=-1 ) - status_change_end(bl,SC_ASSNCROS,-1); case SC_QUAGMIRE: if(sc->data[SC_CONCENTRATE].timer!=-1 ) status_change_end(bl,SC_CONCENTRATE,-1); @@ -4839,6 +4835,10 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val status_change_end(bl,SC_WINDWALK,-1); //Also blocks the ones below... case SC_DECREASEAGI: + if(sc->data[SC_CARTBOOST].timer!=-1 ) + status_change_end(bl,SC_CARTBOOST,-1); + //Also blocks the ones below... + case SC_DONTFORGETME: if(sc->data[SC_INCREASEAGI].timer!=-1 ) status_change_end(bl,SC_INCREASEAGI,-1); if(sc->data[SC_ADRENALINE].timer!=-1 ) @@ -4849,8 +4849,6 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val status_change_end(bl,SC_SPEARQUICKEN,-1); if(sc->data[SC_TWOHANDQUICKEN].timer!=-1 ) status_change_end(bl,SC_TWOHANDQUICKEN,-1); - if(sc->data[SC_CARTBOOST].timer!=-1 ) - status_change_end(bl,SC_CARTBOOST,-1); if(sc->data[SC_ONEHAND].timer!=-1 ) status_change_end(bl,SC_ONEHAND,-1); break; |