diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-20 21:38:02 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-20 21:38:02 +0000 |
commit | f076819852059809b4281ef2e87e50aee102cfd0 (patch) | |
tree | d45a2a5311abe91268b7ed93be120adb84c9081b /src/map/pc.c | |
parent | d2b562b8242d07c6a373baaa6dce66fa85df9eb5 (diff) | |
download | hercules-f076819852059809b4281ef2e87e50aee102cfd0.tar.gz hercules-f076819852059809b4281ef2e87e50aee102cfd0.tar.bz2 hercules-f076819852059809b4281ef2e87e50aee102cfd0.tar.xz hercules-f076819852059809b4281ef2e87e50aee102cfd0.zip |
- Gravitation now only blocks the caster from using potions.
- Corrected Madness Canceller not letting you walk while the effect lasts.
- Splitted yet again ASC_BREAKER into a two-part attack. This time the int-based damage is a MISC type attack, and gets reduced by skills as such.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8392 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 0acccb16e..befbce5f8 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2914,9 +2914,9 @@ int pc_useitem(struct map_session_data *sd,int n) if (sd->sc.count && ( sd->sc.data[SC_BERSERK].timer!=-1 || sd->sc.data[SC_MARIONETTE].timer!=-1 || - sd->sc.data[SC_GRAVITATION].timer!=-1 || + (sd->sc.data[SC_GRAVITATION].timer!=-1 && sd->sc.data[SC_GRAVITATION].val3 == BCT_SELF) || //Cannot use Potions/Healing items while under Gospel. - (sd->sc.data[SC_GOSPEL].timer!=-1 && sd->sc.data[SC_GOSPEL].val4 == BCT_SELF && sd->inventory_data[n]->type == 0) + (sd->sc.data[SC_GOSPEL].timer!=-1 && sd->sc.data[SC_GOSPEL].val4 == BCT_SELF && sd->inventory_data[n]->type == IT_HEALING) )) return 0; |