summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-02 18:11:49 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-02 18:11:49 +0000
commit9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf (patch)
tree9215876ed86dff56a07852243487ee570aac1be5 /src/map/pc.c
parent5d75265b8cd2295dbd0b815288bd88ec0da69d8d (diff)
downloadhercules-9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf.tar.gz
hercules-9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf.tar.bz2
hercules-9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf.tar.xz
hercules-9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf.zip
Blade Stop status no longer prevents item use and equip changing.
Blade Stop skill will now only activate if the attacker is at most 2 cells away (1 if barehanded). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13557 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index aa3b45157..8fbacb71d 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3390,7 +3390,6 @@ int pc_useitem(struct map_session_data *sd,int n)
sd->sc.data[SC_MARIONETTE] ||
(sd->sc.data[SC_GRAVITATION] && sd->sc.data[SC_GRAVITATION]->val3 == BCT_SELF) ||
sd->sc.data[SC_TRICKDEAD] ||
- sd->sc.data[SC_BLADESTOP] ||
sd->sc.data[SC_HIDING] ||
(sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOITEM)
))
@@ -6622,7 +6621,7 @@ int pc_equipitem(struct map_session_data *sd,int n,int req_pos)
return 0;
}
- if(sd->sc.data[SC_BERSERK] || sd->sc.data[SC_BLADESTOP])
+ if( sd->sc.data[SC_BERSERK] )
{
clif_equipitemack(sd,n,0,0); // fail
return 0;
@@ -6768,7 +6767,8 @@ int pc_unequipitem(struct map_session_data *sd,int n,int flag)
}
// if player is berserk then cannot unequip
- if(!(flag&2) && sd->sc.count && (sd->sc.data[SC_BLADESTOP] || sd->sc.data[SC_BERSERK])){
+ if( !(flag&2) && sd->sc.count && sd->sc.data[SC_BERSERK] )
+ {
clif_unequipitemack(sd,n,0,0);
return 0;
}