diff options
author | Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-06 04:19:22 +0000 |
---|---|---|
committer | Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-06 04:19:22 +0000 |
commit | a9e29df778514bd1dca21b6a65595410733a0da1 (patch) | |
tree | 8a0620b9c754445ae26db7e7d136c42b5ab36ba8 /src/map/pc.c | |
parent | ae10f5471926661984cd90392023af97c3d69fee (diff) | |
download | hercules-a9e29df778514bd1dca21b6a65595410733a0da1.tar.gz hercules-a9e29df778514bd1dca21b6a65595410733a0da1.tar.bz2 hercules-a9e29df778514bd1dca21b6a65595410733a0da1.tar.xz hercules-a9e29df778514bd1dca21b6a65595410733a0da1.zip |
Unequip should no longer remove any buff from seven wind. (bugreport:1155)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12503 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 7a2d47f2b..3d7572326 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -6591,7 +6591,7 @@ int pc_unequipitem(struct map_session_data *sd,int n,int flag) clif_unequipitemack(sd,n,sd->status.inventory[n].equip,1); if((sd->status.inventory[n].equip & EQP_ARMS) && - sd->weapontype1 == 0 && sd->weapontype2 == 0) + sd->weapontype1 == 0 && sd->weapontype2 == 0 && (!sd->sc.data[SC_SEVENWIND] || sd->sc.data[SC_ASPERSIO])) //Check for seven wind (but not level seven!) skill_enchant_elemental_end(&sd->bl,-1); if(sd->status.inventory[n].equip & EQP_ARMOR) { |