summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-15 19:25:22 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-15 19:25:22 +0000
commit29424f4862169ff53b78b233a1ef490329817f0f (patch)
tree6092d29a515add8496d81b46404ff0eb19dd3bb7 /src/map/status.c
parent1197558778704f21e962aaadcae6c8d09dc7f9b5 (diff)
downloadhercules-29424f4862169ff53b78b233a1ef490329817f0f.tar.gz
hercules-29424f4862169ff53b78b233a1ef490329817f0f.tar.bz2
hercules-29424f4862169ff53b78b233a1ef490329817f0f.tar.xz
hercules-29424f4862169ff53b78b233a1ef490329817f0f.zip
- Small fix on status_change_start
- Likely fixed Gravitation not hitting except for the last hit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5617 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index ff1eb1fd0..743cde2c7 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -403,7 +403,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int
(sc->data[SC_TRICKDEAD].timer != -1 && skill_num != NV_TRICKDEAD)
|| (sc->data[SC_AUTOCOUNTER].timer != -1 && skill_num != KN_AUTOCOUNTER)
|| (sc->data[SC_GOSPEL].timer != -1 && sc->data[SC_GOSPEL].val4 == BCT_SELF && skill_num != PA_GOSPEL)
- || (sc->data[SC_GRAVITATION].timer != -1 && sc->data[SC_GRAVITATION].val3 == BCT_SELF)
+ || (sc->data[SC_GRAVITATION].timer != -1 && sc->data[SC_GRAVITATION].val3 == BCT_SELF && skill_num != HW_GRAVITATION)
)
return 0;
@@ -4399,6 +4399,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
case SC_QUAGMIRE: /* クァグマイア */
calc_flag = 1;
break;
+
case SC_LULLABY: /* 子守唄 */
case SC_RICHMANKIM:
case SC_ROKISWEIL: /* ロキの叫び */
@@ -4451,6 +4452,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
case SC_SILENCE: /* 沈?(レックスデビ?ナ) */
case SC_ASSUMPTIO: /* アスムプティオ */
case SC_SLEEP:
+ break;
// gs_something1 [Vicious]
case SC_MADNESSCANCEL:
case SC_ADJUSTMENT: