summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-20 14:35:02 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-20 14:35:02 +0000
commit844efd7ecae4adb6f2615bc15d4d891d9035703e (patch)
treea7b759c5ae5dc3b41aca0e9d2366b93c8498f542 /src/map/pc.c
parentd11101c061a9571c34dbbe66534a3a4f1afa99b3 (diff)
downloadhercules-844efd7ecae4adb6f2615bc15d4d891d9035703e.tar.gz
hercules-844efd7ecae4adb6f2615bc15d4d891d9035703e.tar.bz2
hercules-844efd7ecae4adb6f2615bc15d4d891d9035703e.tar.xz
hercules-844efd7ecae4adb6f2615bc15d4d891d9035703e.zip
- Corrected fog of wall to behave as best known. Only takes effect when targetting a character inside it, -50hit/-75% damage when using normal-ranged attacks, -25% damage from all damage skills, 75% chance of all targetted damage skills of failing.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7764 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 15d0d7941..cfb3d86b7 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -546,7 +546,7 @@ int pc_isequip(struct map_session_data *sd,int n)
if (sd->status.base_level > 90 && item->equip & EQP_HELM)
return 1; //Can equip all helms
- if (sd->status.base_level > 96 && item->equip & EQP_WEAPON && item->type == 4)
+ if (sd->status.base_level > 96 && item->equip & EQP_WEAPON && item->type == IT_WEAPON)
switch(item->look) { //In weapons, the look determines type of weapon.
case W_DAGGER: //Level 4 Knives are equippable.. this means all knives, I'd guess?
case W_1HSWORD: //All 1H swords