summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-07 17:01:29 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-07 17:01:29 +0000
commit6a2893723c01846d52cc2f333805c87469729f6c (patch)
treefc3e6e0c0abf7ab37d7b5578531bc699360553cb /src/map/pc.c
parentbf5d35ffa62f9cc19f20f27fd5bd364f5fc13d7c (diff)
downloadhercules-6a2893723c01846d52cc2f333805c87469729f6c.tar.gz
hercules-6a2893723c01846d52cc2f333805c87469729f6c.tar.bz2
hercules-6a2893723c01846d52cc2f333805c87469729f6c.tar.xz
hercules-6a2893723c01846d52cc2f333805c87469729f6c.zip
Swapped the weapon type IDs of Shotgun and Gatling Gun weapons to match aegis.
Added Mace Mastery bonus to 2handed maces, and made them unbreakable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12779 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 9c6f9686e..643863ea6 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -688,8 +688,8 @@ int pc_isequip(struct map_session_data *sd,int n)
case W_DAGGER: //Level 4 Knives are equippable.. this means all knives, I'd guess?
case W_1HSWORD: //All 1H swords
case W_1HAXE: //All 1H Axes
- case W_MACE: //All Maces
- case W_STAFF: //All Staffs
+ case W_MACE: //All 1H Maces
+ case W_STAFF: //All 1H Staves
return 1;
}
}
@@ -1576,8 +1576,8 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
case W_BOW:
case W_REVOLVER:
case W_RIFLE:
- case W_SHOTGUN:
case W_GATLING:
+ case W_SHOTGUN:
case W_GRENADE:
//Become weapon element.
status->rhw.ele=val;
@@ -1640,8 +1640,8 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
case W_BOW:
case W_REVOLVER:
case W_RIFLE:
- case W_SHOTGUN:
case W_GATLING:
+ case W_SHOTGUN:
case W_GRENADE:
status->rhw.range += val;
}