summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-05 15:39:46 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-05 15:39:46 +0000
commit53c1056d5f11c8ecd8caedae24765e922017fede (patch)
treee9aadb1420a3f5b3070f5c56e202380075698bd1 /src/map/pc.c
parent2aa019b4313ff70b17ad7be44867646984728f6e (diff)
downloadhercules-53c1056d5f11c8ecd8caedae24765e922017fede.tar.gz
hercules-53c1056d5f11c8ecd8caedae24765e922017fede.tar.bz2
hercules-53c1056d5f11c8ecd8caedae24765e922017fede.tar.xz
hercules-53c1056d5f11c8ecd8caedae24765e922017fede.zip
- Implemented Firepillar's 'target cannot move for 0.2 sec x hit' property.
- Corrected Earthquake so it behaves as explained in the development topics. - Corrected a missing opt_flag = 0 when using SC_INCATKRATE on mobs. - Added a missing line to actually unequip unallowed compounded cards when changing maps. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12299 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 2a9299658..7a863ad1b 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6593,7 +6593,10 @@ int pc_checkitem(struct map_session_data *sd)
| (map[sd->bl.m].flag.pvp?1:0)
| (map_flag_gvg(sd->bl.m)?2:0);
if (flag && !pc_isAllowedCardOn(sd,it->slot,i,flag))
+ {
+ sd->status.inventory[i].equip=0;
calc_flag = 1;
+ }
}
}
}