diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-15 19:25:22 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-15 19:25:22 +0000 |
commit | 29424f4862169ff53b78b233a1ef490329817f0f (patch) | |
tree | 6092d29a515add8496d81b46404ff0eb19dd3bb7 | |
parent | 1197558778704f21e962aaadcae6c8d09dc7f9b5 (diff) | |
download | hercules-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
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/map/status.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index e76768243..01c0bae56 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -5,6 +5,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EV GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
2006/03/15
+ * Likely fixed Gravitation not hitting except for the last hit. [Skotlex]
* Removed the hardcoded duration of 30 seconds for sleep. [Skotlex]
* Fixed rangecheck for pet skill usage of INF_SELF_SKILL type of skills
[Skotlex]
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:
|