diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-18 14:33:52 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-18 14:33:52 +0000 |
commit | 6713158b3247af09d6bf036028d94baf1e715525 (patch) | |
tree | 45a39cd1e04bc80742a40410d3065bae7cfb86d7 /src/map/status.c | |
parent | ea64ed822782ca2e9f2dadf954a85da6d559ed54 (diff) | |
download | hercules-6713158b3247af09d6bf036028d94baf1e715525.tar.gz hercules-6713158b3247af09d6bf036028d94baf1e715525.tar.bz2 hercules-6713158b3247af09d6bf036028d94baf1e715525.tar.xz hercules-6713158b3247af09d6bf036028d94baf1e715525.zip |
- Corrected Venom splasher's splash damage
- You now can't move/attack/use-skills when using Cloaking of a level less than 3
- Fixed compilation of mercenary.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7729 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/map/status.c b/src/map/status.c index 41a054f24..c37b0c084 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -897,6 +897,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int || (sc->data[SC_AUTOCOUNTER].timer != -1 && !flag) || (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 && skill_num != HW_GRAVITATION) + || (sc->data[SC_CLOAKING].timer != -1 && sc->data[SC_CLOAKING].val1 < 3 && skill_num != AS_CLOAKING) ) return 0; @@ -4422,13 +4423,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val if (sc->data[SC_QUAGMIRE].timer!=-1 || sc->data[SC_DONTFORGETME].timer!=-1) return 0; break; - case SC_CLOAKING: - //Avoid cloaking with no wall and low skill level. [Skotlex] - //Due to the cloaking card, we have to check the wall versus to known skill level rather than the used one. [Skotlex] -// if (sd && skilllv < 3 && skill_check_cloaking(bl,&sd->sc)) - if (sd && pc_checkskill(sd, AS_CLOAKING)< 3 && skill_check_cloaking(bl, sc)) - return 0; - break; case SC_MODECHANGE: { int mode; |